Search Issue Tracker

Active

Votes

0

Found in

6000.0.44f1

6000.1.0b11

6000.2.0a7

Issue ID

UUM-101233

Regression

Yes

Crash on TypeContainer<int>::rtti when deleting a Render Texture that is used by the Main Camera

-

Steps to reproduce:
1. Open the “user’s attached project”
2. Open “GameScene”
3. Right-click in the Project window and select “Create/Render Texture” or “Create/Rendering/Render Texture”
4. Select the “Main Camera” GameObject through the Hierarchy
5. Under “Output” select the created Render Texture for the “Output Texture” field through the Inspector (“Target Texture” for 2023.2.0b10)
6. Delete the created Render Texture through the Project window
7. Observe the crash

Reproducible with versions: 2023.2.0b11, 6000.0.44f1, 6000.1.0b11, 6000.2.0a7
Not reproducible with versions: 2021.3.50f1, 2022.3.60f1, 2023.2.0b10

Reproducible on: macOS 15.1.1 (M1 Max), Windows 11 (by the reporter)
Not reproducible on: no other environment tested

First few lines of StackTrace:

{noformat}#0 0x000001048f3830 in TypeContainer<int>::rtti
#1 0x00000100a77b1c in Camera::SetRenderTargetAndViewport()
#2 0x00000100a7793c in Camera::SetupRender(ShaderPassContext&, CameraRenderingParams const&, Camera::RenderFlag)
#3 0x00000100a77840 in Camera::SetupRender(ShaderPassContext&, Camera::RenderFlag)
#4 0x00000100cd1464 in RendererCommandSetupCameraProperties(PPtr<Camera>, ShaderPassContext&){noformat}

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.