Search Issue Tracker
Not Reproducible
Votes
0
Found in
2018.3.0a6
2018.3.0b10
2019.1.0a1
Issue ID
1102282
Regression
No
MissingReferenceException is thrown when editing script parameters of GameObjects dynamically Instantiated in a Coroutine
Steps to reproduce:
1. Open users attached project
2. Press Play
3. In Assets folder select "Drop" Prefab
4. Click Open Prefab in the Inspector window
5. Change the speed parameter and go back to normal Hierarchy window
Expected results: No errors are thrown after script parameter of the Prefab is edited during the Play mode
Actual results: After any parameter is edited in the script of the Prefab during Play mode, error will appear "MissingReferenceException: The object of type 'Drop' has been destroyed but you are still trying to access it." Your script should either check if it is null or you should not destroy the object.
Reproducible with: 2018.3.0a6, 2018.3.0f2, 2019.1.0a11
Not reproducible with: 2017.4.16f1, 2018.2.18f1, 2018.3.0a5
Note: Improved Prefabs appeared in 2018.3.0a6. This error will only appear on Instantiated GameObject.
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Redoing creation of Sub Scenes and Cube GameObjects in Hierarchy throws “Assertion failed on expression: 'targetScene != nullptr’” error in Console window
- Selecting “New Sub Scene” after assigning “New Scene” in Sub Scene Script Component throws “Destroying GameObjects immediately is not permitted” in the Console window
- Shader Graph "Zoom Step Size" can be set to 0 even though the zoom still works
- Enabling/Disabling the Deprecated Nodes doesn't apply to the opened Shader Graph unless any Variable is added to the Blackboard
- Group Selection title text size is smaller in renaming than the actual font size
Add comment