Closed hardcpp closed 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)
1[T] resultAppendList) (at <ac6b6f0e796d4502a755fee234f0683f>:0) [CRITICAL @ 07:17:28 | UnityEngine] UnityEngine.EventSystems.EventSystem.RaycastAll (UnityEngine.EventSystems.PointerEventData eventData, System.Collections.Generic.List
Update : the probleme appear when you create a FloatingScreen on BS_Utils.Utilities.BSEvents.menuSceneActive event
Resolved, scene is active before fully loaded
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.List: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)
1[T] resultAppendList) (at <ac6b6f0e796d4502a755fee234f0683f>:0) [CRITICAL @ 07:17:28 | UnityEngine] UnityEngine.EventSystems.EventSystem.RaycastAll (UnityEngine.EventSystems.PointerEventData eventData, System.Collections.Generic.List
1[T] raycastResults) (at