Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3.0f6
2020.2
Issue ID
1261713
Regression
No
RenderTexture.useDynamicScale always returns false when in Play Mode
How to reproduce:
1. Open the attached project's "case_1261713-Project.zip" Scene labeled "SampleScene"
2. In the Project Window, select the Render Texture asset named "tex2"
3. In the Inspector, enable the Dynamic Scaling option
4. Enter the Play Mode
5. Observe the Console Window
Expected result: RenderTexture.useDynamicScale returns a value based on if the Dynamic Scaling option is enabled or not
Actual result: RenderTexture.useDynamicScale always returns false
Reproducible with: 2018.4.25f1, 2019.4.4f1, 2020.1.0b16, 2020.2.0a18
Note: Not reproducible with Metal Graphics API
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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
Resolution Note (2020.1.X):
Dynamic resolution is supported using DX12 on Windows editor and Metal on MacOS editor; see https://docs.unity3d.com/Manual/DynamicResolution.html for full list of supported platforms. RenderTexture.useDynamicScale will always be false if dynamic resolution is not supported.