Search Issue Tracker

Fixed

Fixed in 1.0.0

Votes

0

Found in [Package]

1.0.0

Issue ID

ECSB-158

Regression

Yes

Crash on System.Buffer:InternalMemcpy when opening a project that contains Entities 1.0.0-pre.15

Package: Entity Component System (ECS)

-

Reproduction steps:
1. Open the attached “repro-project“

Expected result: The project opens successfully
Actual result: The Editor crashes

Reproducible with: 1.0.0-pre.15 (2022.2.3f1, 2023.1.0a26)
Not reproducible: 1.0.0-exp.12 (2022.2.3f1), 1.0.0-pre.15 (2021.3.17f1)

Reproduced on: Windows 10 Pro

Note: Not reproducible when removing Entities packages from the manifest.json file

First few lines of the stack traces:
{{0x00007FFDDDA08B4C (mono-2.0-bdwgc) [D:\agent\_work\13\s\src\vctools\crt\vcruntime\src\string\amd64\memcpy.asm:299] memcpy }}
{{0x00000230D0A9D316 (Mono JIT Code) (wrapper managed-to-native) System.Buffer:InternalMemcpy (byte*,byte*,int) }}
{{0x00000230D0ACC56B (Mono JIT Code) System.Buffer:Memcpy (byte*,byte*,int) }}
{{0x00000230D0A9D1E3 (Mono JIT Code) string:memcpy (byte*,byte*,int) }}
{{0x00000232449B8B0B (Mono JIT Code) [.\Library\PackageCache\com.unity.entities@1.0.0-pre.15\Unity.Entities.Editor\Hierarchy\Model\ChangeTracking\ComponentDataDiffer.cs:308] Unity.Entities.Editor.ComponentDataDiffer:CanWatch (Unity.Entities.ComponentType) }}

{{0x000001a8c0492476 (Mono JIT Code) (wrapper managed-to-native) System.Buffer:InternalMemcpy (byte*,byte*,int) }}
{{0x000001a8bf489dcb (Mono JIT Code) System.Buffer:Memcpy (byte*,byte*,int) }}
{{0x000001a8c0492343 (Mono JIT Code) string:memcpy (byte*,byte*,int) }}
{{0x000001aaa1d668db (Mono JIT Code) Unity.Entities.Editor.ComponentDataDiffer:CanWatch (Unity.Entities.ComponentType) (at C:/Users/AgnieteMargeviciute/Documents/Unity Projects/IN-27247/Library/PackageCache/com.unity.entities@1.0.0-pre.15/Unity.Entities.Editor/Hierarchy/Model/ChangeTracking/ComponentDataDiffer.cs:308) }}
{{0x000001aaa1d65973 (Mono JIT Code) Unity.Entities.Editor.ComponentDataDiffer:.ctor (Unity.Entities.ComponentType) (at C:/Users/AgnieteMargeviciute/Documents/Unity Projects/IN-27247/Library/PackageCache/com.unity.entities@1.0.0-pre.15/Unity.Entities.Editor/Hierarchy/Model/ChangeTracking/ComponentDataDiffer.cs:318) }}

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.