Search Issue Tracker
Won't Fix
Votes
0
Found in
5.4.0b24
Issue ID
811568
Regression
No
Null pointer exception when dragging line renderer into the scene and then to console while playing
Steps to reproduce:
1. Download and import attached project.
2. Open scene: 02_effects_preview
3. Press play.
4. Make sure scene view and console are visible.
5. In Project window Find prefab: lightning_gun_beam
6. Drag that prefab into scene view, but don't release, then drag it to console window.
Expected result: Nothing happens.
Actual result: Error appears:
MissingReferenceException: The object of type 'LineRenderer' 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.
Note: Errors appear even when you finish doing everything and the only way to stop them is to restart Unity.
Reproduced on: 5.5.0a3, 5.4.0b23, 5.3.5f1
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Vector3 node has no X, Y, Z outputs when adding Vector3 node in the Visual Effect Graph
- [Android] Error "Blitter is already initialized" is present when Adaptive Probe Volumes are used with OpenGLES3
- VFX Graph effect instance stops rendering when a second instance of the same effect starts 2 frames later
- Operations on the Color32 array are not reflected in WebGL Player when HDR is off
- Rigidbody moves away from the original GameObject when Center of Mass is set in every frame
Add comment