Search Issue Tracker

Won't Fix

Votes

0

Found in

2018.4

2019.4

2020.3

2021.1

2021.1.0f1

2021.2

Issue ID

1328504

Regression

No

Crash on CustomRenderTextureManager::RecreateResources when "unity_builtin_extra" is missing from the Editor's directory

Graphics - LowLevel

-

How to reproduce:
1. Delete the "unity_builtin_extra" file in your Editor's directory under "version\Editor\Data\Resources"
2. Try to open or create a project with that Editor

Expected result: "unity_builtin_extra" is recreated
Actual result: Crash opening the Editor

Reproducible with: 2018.4.34f1, 2019.4.25f1, 2020.3.6f1, 2021.1.5f1, 2021.2.0a15

First lines of stack traces:
0x00007ff6b7ee82fa (Unity) CustomRenderTextureManager::RecreateResources
0x00007ff6b7eeb79f (Unity) CustomRenderTextureManager::Update
0x00007ff6b8188cf9 (Unity) `InitPlayerLoopCallbacks'::`2'::PostLateUpdateUpdateCustomRenderTexturesRegistrator::Forward
0x00007ff6b816a2dc (Unity) ExecutePlayerLoop
0x00007ff6b816a3b3 (Unity) ExecutePlayerLoop
0x00007ff6b8171269 (Unity) PlayerLoop

0x0000000140A63EA7 (Unity) Material::CreateMaterial
0x0000000141C053D6 (Unity) GetGUIBlendMaterial
0x0000000141C02300 (Unity) DrawClippedTexture
0x0000000141C021E3 (Unity) GUIStyle::DrawBackground
0x0000000141C01B09 (Unity) GUIStyle::Draw
0x00000001416D9502 (Unity) GUIStyle_CUSTOM_Internal_Draw2_Injected

  1. Resolution Note:

    Unity will not work correctly when you delete files from the install directory. You should never delete files in that directory. Unity is not able to restore those files and recover from that deletion.

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.