Search Issue Tracker
Fixed in 2021.3.9f1
Fixed in 2023.1.X
Votes
0
Found in
2020.3.37f1
2021.3.6f1
2022.1.9f1
2023.1.0a5
Issue ID
UUM-9101
Regression
No
Editor crashes when null is passed to Shader.SetGlobalMatrix
How to reproduce:
1. Open the attached project ("CrashTest.zip")
2. Enter Play Mode
Reproducible with: 2021.2.0a18, 2021.3.6f1, 2022.1.9f1
Not reproducible with: 2020.3.37f1, 2021.2.0a17, 2022.2.0a1, 2022.2.0b1, 2023.1.0a3
Reproducible on:
macOS 12.4 (Intel)
Windows 11
First lines of Windows stack trace:
0x0000021558138f68 (Mono JIT Code) (wrapper managed-to-native) System.Buffer:InternalMemcpy (byte,byte,int)
0x00000216064248cb (Mono JIT Code) System.Buffer:Memcpy (byte,byte,int)
0x0000021558138ed3 (Mono JIT Code) string:memcpy (byte,byte,int)
0x000002160abd37db (Mono JIT Code) [CrashTest.cs:16] CrashTest:Start ()
Note:
- CommandBuffer.SetGlobalMatrix exhibits the same behavior (user's information)
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
- Out-of-bounds memory access with multiple CanvasRenderers under a Canvas when using Mesh API
- Package signature validation unexpectedly return an invalid signature status if the validation check is done after the code signing certificate validaty range has passed
- Inspector tries to access file after it was deleted when the file was locked in Inspector window
- Changing Transform values in Search window Inspector loses focus while dragging and stopping mouse without releasing dragging action
- Saving changes on the dirty VFX Graph during the Play mode throws "The referenced script (Unknown) on this Behaviour is missing!" warnings
Resolution Note (fix version 2021.3.9f1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-10477
Resolution Note (fix version 2023.1):
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-10477