Search Issue Tracker
Not Reproducible
Votes
0
Found in
6000.1.0b2
Issue ID
UUM-92609
Regression
Yes
Crash on RaiseException when entering Play Mode with a Material that has been upgraded from Built-In to URP when the Web Platform is enabled
Steps to reproduce:
- Open the attached Project
- Open Scene "SampleScene"
- Navigate to File > Build Profiles > Web and select "Switch Platform"
- Select "Housefly Nom" in the Project Browser
- Navigateand to Edit > Rendering > Materials > Convert Selected Built-In Materials to URP and observe the Console
- Enter Play Mode
Actual results: *
Errors logged when converting Material:
"UnityException: GetActiveBuildProfile can only be called from the main thread."
"Could not add platformSupportModule UnityEditor.Android.TargetExtension, try rebuilding the module: Exception has been thrown by the target of an invocation."
Errors like the second one are also present mentioning other installed platforms
When entering Play Mode the Editor crashes on:
RaiseException
CleanupAfterLoad
LoadSceneOperation::CompletePreloadManagerLoadSceneEditor
LoadSceneOperation::IntegrateMainThread
PreloadManager::UpdatePreloadingSingleStep
Expected results:* No crash occurs
Reproducible with versions: 6000.1.0a9, 6000.1.0b2
Not reproducible with versions: 2022.3.56f1, 6000.0.34f1, 6000.1.0a8
Tested on (OS): Windows 11
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
- VFX Graph Documentation dropdown button does nothing when clicked on the right side
- Required SpriteMask class (ID 331) is stripped when "Strip Engine Code" is enabled
- “Maximized serialized file backup not found” error is thrown when minimizing a window in a newly opened project
- Build stack trace contains invalid lines when building with IL2CPP using scripts with delegates containing generic types in the signature
- Entities Systems window has a “Show Full Player Loop” dropdown which does nothing when clicked after enabling “Show Full Player Loop”
Resolution Note:
Tested on the latest trunk 6000.1.0b4. And it doesn't reproduce anymore. There is probably something that fixed it between 6000.1.0b2 and 6000.1.0b4.