Search Issue Tracker
Fixed in 2017.1.X
Votes
0
Found in
5.6.0f2
Issue ID
904408
Regression
Yes
typeinfo for EditorExtension crash when destroying RenderTexture using Destroy.Immediate
To reproduce:
1. Open attached Unity project "SpriteLightKit-master"
2. Click on SpriteLightKitDemo in Assets folder
3. Click on Either "SpriteLightKitScene" or "SpriteLightKitShadowScene"
Expected result: Scene should open without any errors or crashes
Actual result: Unity crashes instantly after clicking on either of the scenes
Regression first introduced in: 5.5.3p1
Reproduced on: 5.6.0f1, 5.6.0f3. 5.6.0p2, 2017.1.0b1
Not reproduced on: 5.4.0f3, 5.5.0f3, 5.5.3p1
Note: In script file "SpriteLightKit.cs" commenting out line 149 "UnityEngine.Object.DestroyImmediate( _texture );" prevents Unity from crashing
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Scaled Backgrounds List and dropdown text are enabled while Scaled Backgrounds field is disabled in IMGUI Debugger window
- Editor crashes when large value is entered in Scaled Backgrounds field of IMGUI Debugger window
- "Custom Function" Node "Input" type changes do not immediately show mistmatch errors when set to an incompatible type in Shader Graph
- My Assets list is populated with Asset Packages when setting how many Packages to display before clicking the Load button
- Hub shows 6.0 as Latest LTS when opening a project after deleting its 6.3 Editor version
Add comment