Search Issue Tracker

Won't Fix

Votes

0

Found in

2023.3.0a3

Issue ID

UUM-47773

Regression

No

[macOS] Freeze/Crash on CFRelease when running PlayMode test with Test Runner

--

-

Reproduction steps:
1. Open the attached project "ReproProj"
2. Open Windows > General > Test Runner
3. In Test Runner window press “Run All”

Expected result: Test Runner tests are completed
Actual result: Editor crashes/freezes

Reproducible with: 2021.3.29f1, 2022.3.6f1, 2023.1.7f1
Couldn't test with: 2023.2.0b3, 2023.3.0a4 - project script errors

Reproducible on: macOS Monterey 12.5 (M1 Max), macOS 12.5 (Intel)
Not reproducible on: Windows 11

  1. Resolution Note:

    This is a user code issue, not a Test Runner or Unity Editor issue. The main problem is how the third party library ("Quartz.dll") methods like: "CFRelease", "CGEventCreateMouseEvent" are imported and used incorrectly, causing an unexpected crash.

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.