monkeymanboy / BeatSaberMarkupLanguage

MIT License
89 stars 44 forks source link

[1.12.2] FloatingScreen => HandleReleased #56

Closed hardcpp closed 4 years ago

hardcpp commented 4 years ago

Moving a basic floating screen by it's handle gameobject (white cube) cause exception and lock UI interaction except for the handle cube itself.

Test => VR & FPFC

Logs :

[CRITICAL @ 07:17:28 | UnityEngine] NullReferenceException: Object reference not set to an instance of an object [CRITICAL @ 07:17:28 | UnityEngine] VRUIControls.VRGraphicRaycaster.Raycast (UnityEngine.EventSystems.PointerEventData eventData, System.Collections.Generic.List1[T] resultAppendList) (at <ac6b6f0e796d4502a755fee234f0683f>:0) [CRITICAL @ 07:17:28 | UnityEngine] UnityEngine.EventSystems.EventSystem.RaycastAll (UnityEngine.EventSystems.PointerEventData eventData, System.Collections.Generic.List1[T] raycastResults) (at :0) [CRITICAL @ 07:17:28 | UnityEngine] VRUIControls.VRInputModule.GetMousePointerEventData (System.Int32 id) (at :0) [CRITICAL @ 07:17:28 | UnityEngine] VRUIControls.VRInputModule.Process () (at :0) [CRITICAL @ 07:17:28 | UnityEngine] UnityEngine.EventSystems.EventSystem.Update () (at :0)

hardcpp commented 4 years ago

Update : the probleme appear when you create a FloatingScreen on BS_Utils.Utilities.BSEvents.menuSceneActive event

hardcpp commented 4 years ago

Resolved, scene is active before fully loaded