Search Issue Tracker

Fixed in 5.3.0

Votes

0

Found in

5.2.0f3

Issue ID

728288

Regression

Yes

[RenderTexture] Crash when destroying camera render texture

Camera

-

Reproduction steps:
1. Open attached project
2. Open SSAARenderTexture.cs (Assets\Plugins\Cats Cranium\Super Sampling Anti-Aliasing\SSAARenderTexture.cs)
3. Remove/comment the lines 37 and 57 (the ones with "_camera.targetTexture = null;").
4. Open the "Test" scene (Assets\Scenes\Test.unity)
5. Select the "FS Camera" GameObject and disable the SSAARenderTexture script component.
6. Unity crashes.

NOTE: If crash doesn't occur reopen the attached project and repeat the 5th step.

Regression from: 5.2.0f1 (89160207ce1a)

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.