Search Issue Tracker
Fixed in 2022.3.15f1
Fixed in 2022.3.X, 2023.2.X, 2023.3.X, 7000.0.0a1, future release
Votes
0
Found in
2022.3.9f1
2023.1.12f1
2023.2.0b8
2023.3.0a3
Issue ID
UUM-47983
Regression
Yes
Crash on System.Buffer:InternalMemcpy when physics are updated
Reproduction steps:
1. Open the attached project “CrashRepro“
2. Enter the Play mode
3. Press “Space” on the keyboard twice
Expected result: NullReferenceException is thrown
Actual result: Editor crashes
Reproducible with: 2022.2.0b16, 2022.3.9f1, 2023.1.12f1, 2023.2.0b8, 2023.3.0a3
Not reproducible with: 2021.3.30f1, 2022.2.0b15
Reproducible on: Windows 10
Not reproducible on: No other environment tested
First few lines of stack trace:
{noformat}0x000001b54e99d746 (Mono JIT Code) (wrapper managed-to-native) System.Buffer:InternalMemcpy (byte,byte,int)
0x000001b54e9995cb (Mono JIT Code) System.Buffer:Memcpy (byte,byte,int)
0x000001b54e99b593 (Mono JIT Code) string:memcpy (byte,byte,int)
0x000001b653b7c4bb (Mono JIT Code) Quantum.AimState:OnStatePhysicsUpdate (Quantum.Frame,Quantum.CharacterActions&,Quantum.CharacterInputUpdateSystem/Filter&) (at C:/Projects/LosPingos/quantum_code/quantum.code/Character/Components/AimState.cs:46)
0x000001b6539feb2b (Mono JIT Code) Quantum.CharacterStateMachine:PhysicUpdate (Quantum.Frame,Quantum.CharacterActions&,Quantum.CharacterInputUpdateSystem/Filter&) (at C:/Projects/LosPingos/quantum_code/quantum.code/Character/Components/CharacterStateMachine.cs:118){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
- Typos in High Definition 3D sample tutorials
- “Handles.Repaint called outside an editor OnGUI" error is thrown in the Console when creating a new Tile Palette from the Tile Palette Overlay in Scene view
- Shader Graph window icon is blurry and low quality when the Shader Graph is created using the Universal 2D template
- “Export HDRP Sky to Image” command error message does not indicate that Game view must be visible
- Adaptive Performance Settings Framerate field doesn't display the "supported without VSync" warning, when the field is collapsed in Build Profiles
Resolution Note (fix version future release):
Fixed in the Unity for of Mono
https://github.com/Unity-Technologies/mono/pull/1853