AltTester-Unity-SDK
AltTester-Unity-SDK copied to clipboard
[WebGL] Error in game using NIS when using the input actions in Desktop with `Click objects` in Recorder
Steps to reproduce
- Connect the launched
roll-a-ball
instrumented WebGL build with AltTester Desktop - Start a recording with
Click objects
selected - Using
Click/Press
orTap/Swipe
click on some objects in the Screenshot Area - Check the game console for errors
Actual result
AR
After step 3 in the game console there is an error:
InvalidOperationException: You are trying to read Input using the UnityEngine.Input class, but you have switched active Input handling to Input System package in Player Settings.
at UnityEngine.Input.get_mousePosition_Injected (UnityEngine.Vector3& ret) [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.Input.get_mousePosition () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.BaseInput.get_mousePosition () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.StandaloneInputModule.UpdateModule () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.EventSystem.TickModules () [0x00000] in <00000000000000000000000000000000>:0
at UnityEngine.EventSystems.EventSystem.Update () [0x00000] in <00000000000000000000000000000000>:0
Additional info
Environment
-
roll-a-ball
WebGL game build instrumented with AltTester Unity SDK fromdevelopment
branch (15.01.24) - Unity version for instrumenting builds:
2022.3.17f1
- browser for launching the game: Chrome
- AltTester Desktop from
development
branch (12.01.24 - commitff1bc0e
)
Screenshots
Notes
- issue found while testing https://github.com/alttester/AltTester-Unity-SDK/issues/1429
Expected result
ER
After step 3 there should be no error in the game console