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
- Memory leak when a lot of UI elements are spawned and despawned
- Warnings are not logged in the Console window when using external code analyzers
- Errors “TLS Allocator ALLOC_TEMP_TLS, underlying allocator ALLOC_TEMP_MAIN has unfreed allocations, size 288“ appear constantly when Prefab is open
- Crash on PPtr<Shader>::operator or NullException errors spammed in console when calling Dispose() on null GraphicsBuffer with baked Reflection Probes
- “EndRenderPass: Not inside a Renderpass” and other Render Graph errors in the Player when Render Graph is enabled and Overlay UI is used
Resolution Note (fix version 13.0.0):
Fixed in URP 13.0.0 (2022.1.0a11)
Resolution Note:
Fixed in: 2021.2.0b16