Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.3.0f2

Issue ID

1110759

Regression

No

Editor crashes with mono_add_process_object when running Unit tests

Mono

-

-

Priority: 7Not yet prioritized for a release

-

Severity: 1Crash, freeze, data loss, work stops

How to reproduce:
1. Open attached project "Svelto.Tasks.Tests"
2. Open Test Runner window and run "TestUltraNaiveEnumerator2"
----------
Observe the crash

Reproduced with: 2018.3.2f1, 2019.1.0a13
Unable to reproduce with 2017.4 because of tests compilation errors due to scripting changes.

Response avatar

Resolution Note:

Crash is caused by overlapping object and non-object fields in memory, which is not allowed. E.g. [StructLayout(LayoutKind.Explicit)] public struct InvalidUnion { [FieldOffset(0)] public object reference; [FieldOffset(0)] public long int64; }

All about bugs

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