Search Issue Tracker
By Design
Votes
0
Found in [Package]
1.1.0-pre.5
Issue ID
1331572
Regression
No
Input System throws MissingReferenceException during event callback after reloading the Scene
How to reproduce:
1. Open the attached project named "Case_1331572"
2. Open the SampleScene and enter Play mode
3. Press the Spacebar key 3 times. Observe that the Scene was reloaded
4. Press the Spacebar key again
5. Observe the Console window
Expected results: Pressing the Spacebar does not cause an exception just like before reloading the scene
Actual results: After the scene is reloaded the Event Callback throws a MissingReferenceException
Reproducible with: 2019.4.27f1, 2020.3.9f1, 2021.1.8f1, 2021.2.0a19(1.0.0, 1.1.0-pre.5)
Could not test with: 2018.4.35f1(Input system package was in early preview)
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- EditorGUILayout.PropertyField foldout icon inside Vertical Layout Group has an incorrect indent when used with OnInspectorGUI()
- [Android] [iOS] "NullReferenceException: Object reference not set to an instance of an object" throws when entering the Play Mode/opening the application
- The Player freezes on load when building Web platform
- Animator "Conditions" tab breaks when the only Parameter is deleted and another one is created
- "Shader error in 'Universal Render Pipeline/Lit': maximum ps_5_0 sampler register index (16) exceeded" error thrown after a build is completed when the "LOD Cross Fade" parameter is enabled
Resolution Note:
Code holds on to GO that gets unloaded during the scene transition.