Search Issue Tracker
Fixed in 5.4.0
Votes
0
Found in
5.3.1p4
Issue ID
764995
Regression
No
Passing null to MaterialEditor.GetMaterialProperties crashes at PPtr<Shader>::operator Shader * __ptr64
Steps to reproduce:
1. Open attached project
2. In top menu, select "BUG > Open Test Window"
3. Click "Click To Crash" button
4. Unity crashes
Workaround: check if value isn't null before passing it to MaterialEditor.GetMaterialProperties
Reproduced with: 5.1.4f1, 5.2.4p1, 5.3.2f1, 5.4.0b3
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- [iOS] Spikes can be seen in the Profiler when tapping the screen on ProMotion devices
- [Linux] Crash on pthread_kill when using incremental GC
- "Broken text PPtr in file(Assets/GemHunterMatch/Characters/Mermaid/Animations/Controller_PSD_character_mermaid.controller)" is thrown when importing "Gem Hunter Match - 2D Sample Project" into the project
- .wav and .ogg audio files can't be imported to the project when the WebGL Build Profile is selected
- [VFX Graph] Capacity Issue when using GPUEvent and Strips.
Add comment