Search Issue Tracker

Active

Under Consideration for 2021.3.X, 2022.3.X

Votes

0

Found in

2021.3.37f1

2022.3.26f1

2023.2.19f1

6000.0.0b16

Issue ID

UUM-71116

Regression

No

Crash on "in __pthread_kill" when running the built application that has UNITY_EDITOR scripting symbol in conditional compilation

--

-

How to reproduce:
1. Open the “SerializeReferenceList“ project
2. Click on the “Edit“ in the top bar
3. Select Build And Run

Expected result: The application is built, and the build application is running.
Actual result: Crash after the application is built

Reproducible with: 2021.3.37f1, 2022.3.26f1, 2023.2.19f1, 6000.0.0b16

Reproducible on: macOS 13.5.2 (Intel), Windows 10 Pro (22H2)
Not reproducible on: No other environments tested

Notes:
- Commenting the code snippet “{{#if UNITY_EDITOR}}“ in the “IVar.cs“ script will fix the issue
- Only reproducible in Player

First few lines of the stack trace:
#0 0x007ff80a83214a in __pthread_kill
#1 0x007ff80a752f28 in raise
#2 0x000001108ecba9 in operator delete[](void*, std::nothrow_t const&)
#3 0x000001108ed52d in operator delete[](void*, std::nothrow_t const&)
#4 0x0000010ffd8d44 in operator delete[](void*, std::nothrow_t const&)
#5 0x0000010ffd92f2 in operator delete[](void*, std::nothrow_t const&)

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.