Search Issue Tracker

Fixed in 10.0.0-preview.1, 9.0.0-preview.30, 8.2.0, 7.4..0

Votes

0

Found in [Package]

9.0.0, 8.1.0 , 8.0.1

Issue ID

1243963

Regression

Yes

[HDRP] Reflection Probe component is added twice on pressing CTRL + z after removing the component

Package: Scriptable Render Pipeline HD

-

-Reflection Probe component is added twice on pressing Control + z after removing the component.
-In 2020.1.0b8 & 2020.2.0a1, MissingComponentExceptions are thrown, it's not added Reflection Probe component twice.

Steps to repro:
1. Create a new HDRP Project.
2. Hierarchy > Right Click > Light > Reflection Probe.
3. Inspector > Remove Reflection Probe Component.
4. Press Control + Z.

Actual Result:
Reflection Probe component is added twice on pressing Control + z

Expected Result:
Only one Reflection Probe component should be added on pressing Control + z

Reproducible in:
2020.2.0a10, 2020.2.0a2 with Package version 9.0.0, 8.1.0 , 8.0.1, 7.3.1.

Working Fine in:
2020.1.0b8, 2020.2.0a1 with Package version 9.0.0, 8.1.0 , 8.0.1, 7.3.1.

Environment:
Occurring on Windows 10 & Mac 10.15

Stacktrace:
MissingComponentException: There is no 'ReflectionProbe' attached to the "Reflection Probe" game object, but a script is trying to access it.
You probably need to add a ReflectionProbe to the game object "Reflection Probe". Or your script needs to check if the component is attached before using it.
UnityEngine.ReflectionProbe.set_size (UnityEngine.Vector3 value) (at <2ca68b418e8b4d85bdbca2257895a2ba>:0)
UnityEngine.Rendering.HighDefinition.HDAdditionalReflectionData.PrepareCulling () (at Library/PackageCache/com.unity.render-pipelines.high-definition@9.0.0-preview.13/Runtime/Lighting/Reflection/HDAdditionalReflectionData.Legacy.cs:36)
UnityEngine.Rendering.HighDefinition.HDProbe.OnEnable () (at Library/PackageCache/com.unity.render-pipelines.high-definition@9.0.0-preview.13/Runtime/Lighting/Reflection/HDProbe.cs:441)
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()

  1. Resolution Note (fix version 10.0.0-preview.1, 9.0.0-preview.30, 8.2.0, 7.4..0):

    Fixed in 10.0.0-preview.1, 9.0.0-preview.30, 8.2.0, 7.4..0

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.