Search Issue Tracker

Fixed in NA

Votes

0

Found in [Package]

7.3.1

Issue ID

1246626

Regression

No

[macOS] Crash when calling ProjectWindowUtil.CreateScriptAssetFromTemplateFile() from an Editor test

Package: Scriptable Render Pipeline Universal

-

How to reproduce:
1. Open the attached "1246626" project
2. In the Test Runner window, run the "TEST_THAT_CRASHES_THE_EDITOR" test
3. Observe the crash

Reproducible with: 2020.1.0a24, 2020.1.0b11, 2020.2.0a13
Not reproducible with: 2019.3.16f1, 2020.1.0a23
Could not test with: 2018.4.23f1 (due to missing URP package)

Notes:
1. The reproduction is not URP version dependent; instead, 2020.1.0a23 with URP 7.3.1 does not crash, but 2020.1.0a24 with URP 7.3.1 crashes.

First 5 lines of the stack trace:
#0 0x007fff31bf9b20 in __33-[NSApplication runModalSession:]_block_invoke_2
#1 0x007fff31bf9b02 in __33-[NSApplication runModalSession:]_block_invoke
#2 0x007fff31a67e1c in _NSTryRunModal
#3 0x007fff31bf99fd in -[NSApplication runModalSession:]
#4 0x000001055f76a8 in -[ProgressbarController setProgressBar:andText:andTitle:canCancel:canSkipProcessing:]
#5 0x000001055f78e5 in ModalProgressBackendMac::Update(float, core::basic_string_ref<char>, core::basic_string_ref<char>, bool, bool)

  1. Resolution Note (fix version NA):

    Unity 2020.1 and above require URP 8.x.x and above. Unity 2020.x and URP 7.x.x is not supported.

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.