Search Issue Tracker
Fixed in 13.0.0
Votes
1
Found in [Package]
12.0.0
Issue ID
1355504
Regression
Yes
Render Texture cannot be assigned as a Cookie of lights when assigning through the Inspector
How to reproduce:
1. Open the attached project ("1355504_2021.2.0b6.zip")
2. Open SampleScene (Scenes -> SampleScene)
3. Select Directional Light in Hierarchy
4. In the Inspector window open the Cookie Object Picker
5. Observe available choices
Expected result: CustomRenderTex asset available for selection
Actual result: CustomRenderTex asset not available for selection
Reproducible with: 12.0.0 (2021.2.0b6, 2022.1.0a5)
Could not test with: 2019.4.29f1, 2020.3.15f2, 2021.1.16f1 (Light Cookie support available from 2021.2 with Universal RP 12.0.0)
Notes:
- Also reproducible with Point and Spot light types
- In code, any Texture can be assigned to the Cookie property
- It also affects builtin render pipeline (BiRP) and HDRP
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Texture is not applied on a Custom Render Texture when a Cubemap is selected as the texture
- 2D light leaks through ShadowCaster2D when ShadowCaster2D components are disabled then re enabled at runtime in Player builds
- Unity Hub redirects to The Unity Roadmap when navigating to “Send Feedback” option
- UI Toolkit throws warning and fails to clear references when fields are not typed as UnityEngine.Object
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
Resolution Note (fix version 13.0.0):
Fixed in URP 13.0.0 (2022.1.0a11)
Resolution Note:
Fixed in: 2021.2.0b16