Search Issue Tracker

Fixed

Fixed in 2022.2.5f1

Votes

0

Found in

2022.2.4f1

Issue ID

UUM-27858

Regression

No

Crash on System.Buffer:InternalMemcpy when entering Play Mode

-

Reproduction steps:
1. Open the attached “repro-project“
2. Enter Play Mode
3. Observe the crash

Reproducible with: 2022.2.4f1
Not reproducible with: 2022.2.8f1
Fixed in: 2022.2.5f1
Could not test with: 2020.3.45f1, 2021.3.19f1, 2023.1.0b6, 2023.2.0a4 - due to errors in the Console

Reproduced on: Windows 10 Pro

Note: Also reproduced in Player

First few lines of the stack trace:
{{0x000002257fda1b46 (Mono JIT Code) (wrapper managed-to-native) System.Buffer:InternalMemcpy (byte,byte,int) 30x000002257fe39dcb (Mono JIT Code) System.Buffer:Memcpy (byte,byte,int) }}
{{0x000002257fda1a13 (Mono JIT Code) string:memcpy (byte,byte,int) }}
{{0x00000224bcb7f13b (Mono JIT Code) PlayerBody:Awake () (at C:/Users/AgnieteMargeviciute/Documents/Unity Projects/IN-30555/Assets/_Scripts/PlayerBody.cs:3597) }}
{{0x00000223979ef9e8 (Mono JIT Code) (wrapper runtime-invoke) object:runtime_invoke_void__this__ (object,intptr,intptr,intptr) 7}}

Add comment

Log in to post comment