Search Issue Tracker

Fixed

Fixed in 2020.3.43f1, 2021.3.14f1

Votes

0

Found in

2020.3.42f1

2021.3.13f1

Issue ID

UUM-21947

Regression

No

RaycastableGraphics entry is not removed when object is deleted

--

-

*Reproduction steps:*

1. Open the attached project “TestProject”

2. Open the “Assets/Scenes/SampleScene.unity” scene

3. Enter Play Mode

4. In the Hierarchy Window select “FailPattern/Image” GameObject and disable/delete it

5. Observe the value of the “countRaycastableGraphics” shown in the Game View

{*}Expected result{*}: The RaycastableGraphic entry is removed
{*}Actual result{*}: The RaycastableGraphic entry is constant

{*}Reproducible with{*}: 2020.3.42f1, 2021.3.13f1
{*}Not Reproducible with{*}: 2022.2.3f1, 2023.1.0a26

*Fixed versions:* 2020.3.43f1, 2021.3.14f1

{*}Reproduced on{*}: Intel macOS 13.0.1

{*}Note{*}: The Animation Component attached to the “FailPattern” GameObject has an Animation Clip that disables the “FailPattern/Image” Raycast Target when in Play Mode.

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.