Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.3.0a1
2018.3.0f2
2019.1.0a1
Issue ID
1110759
Regression
No
Editor crashes with mono_add_process_object when running Unit tests
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.
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
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
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;
}