Search Issue Tracker
Not Reproducible
Votes
0
Found in
5.4.0b6
Issue ID
771034
Regression
No
[API] Crash in Material.SetTexture with a null argument
Add the following code to the Start method of any script attached to a gameobject in your current active scene and press Play. Unity crashes!
Material mat = new Material ("Legacy");
mat.SetTexture (1794759026, null);
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Errors "InvalidOperationException: Trying to use a texture (_InternalGradingLut)..." and “Render Graph Execution error” shown and Scene turns black when 16 or more Render Objects are used
- GameObjects in the Game View are rendered differently than in the Scene View when the Rendering Path is set to "Deferred" and Screen Space Shadows Renderer Feature is added
- Errors “InvalidOperationException: Trying to use a texture (_CameraDepthTexture)...” and “Render Graph Execution error” shown when selecting GameObjects with Mesh Renderer from the Hierarchy
- macOS stutters in a minimal project
- [Usability] HDRP Wizard calls for VR fixes when opening the HDRP Wizard a second time after they have already been applied and the Wizard has finished checking
Add comment