Search Issue Tracker
Fixed in 2021.3.9f1
Fixed in 2021.3.X, 2022.1.X, 2022.1.16f1
Votes
0
Found in
2021.3.9f1
2022.1.14f1
Issue ID
UUM-10477
Regression
Yes
Crash on System.Buffer:InternalMemcpy when starting play mode
Reproduction steps:
1. Open the user’s attached project
2. Click “Play”
Expected result: Console throws NullReferenceException
Actual result: Unity Editor crashes
Reproducible with: 2021.2.0a18, 2021.2.19f1, 2021.3.7f1, 2022.1.12f1
Not reproducible with: 2020.3.37f1, 2021.2.0a17, 2022.2.0a1, 2022.2.0b3, 2023.1.0a5
Reproducible on: Windows 10 Pro 21H2
First lines of the stack trace:
{noformat}0x000001f850160ab6 (Mono JIT Code) (wrapper managed-to-native) System.Buffer:InternalMemcpy (byte,byte,int)
0x000001f8507b8cfb (Mono JIT Code) System.Buffer:Memcpy (byte,byte,int)
0x000001f850160983 (Mono JIT Code) string:memcpy (byte,byte,int)
0x000001f8431c4deb (Mono JIT Code) [CrashTest.cs:12] CrashTest:Start ()
0x000001f850033738 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr){noformat}
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
- [UWP] Mouse movement re-triggers stale <Mouse>/scroll value after the scroll wheel is used once
- "Shutdown worker was forced killed because it kept running. Worker ..." errors are thrown after building a blank HDRP project
- [UI Toolkit] USS materials in AssetBundles break due to InstanceID referencing a material that no longer exists when a Scene is loaded through Addressables for the second time
- Help button leads to a missing documentation page when clicked on a Font Import Settings in the Inspector
- TextMeshPro Text Component reads bottom-to-top instead of top-to-bottom when using RTL Editor
Resolution Note (fix version 2022.1):
Fixed crash that would occur when assigning a large struct to the field of a null object.
Resolution Note (fix version 2021.3):
Fixed crash that would occur when assigning a large struct to the field of a null object.