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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note (fix version 13.0.0):
Fixed in URP 13.0.0 (2022.1.0a11)
Resolution Note:
Fixed in: 2021.2.0b16