Closed dakyneko closed 2 years ago
In my experiment I didn't see any effect but this line is also very suspicious:
https://github.com/knah/VRCMods/blob/master/UIExpansionKit/UiExpansionKitMod.cs#L375
SetLayerRecursively(expando, 4);
should we patch it too? I doubt we want layer Water 4 here?
Actually using layer "UI" prevents from using the camera menu without opening the quick menu. Not really great. Will check better idea later.
PS: ViewFinder UI is using layer "InternalUI" may try that.
I've fixed this during remake of camera expando - UIX panel now uses same layer as other camera UI.
The CameraExpando was visible in the Camera. The Content object had the layer "Water" which is not correct, I put UI here. Also I used the LayerMask so it's future proof. In fact it's totally possible this bug is the result of VRC changing layer id.
Not sure if "UI" is the one we want here but it works in game.