Search Issue Tracker
By Design
Votes
0
Found in
2018.4
2018.4.3f1
2019.1
2019.2
2019.3
Issue ID
1170073
Regression
No
ScalableBufferManager.ResizeBuffers doesn't resize buffers after setting camera.targetTexture to null
Repro steps:
1. Open attached project
2. Build and Run the application on a platform that supports Dynamic Resolution
3. Resize the buffers using the slider
4. Press "Set null texture" button which sets camera.targetTexture to null
5. Resize the buffers again using the slider
Actual: The GameObjects aren't scaled anymore
Reproducible with: 2018.4.5f1, 2019.1.12f1, 2019.2.0b10, 2019.3.0a11
Notes:
- Reproduced on Android with Vulkan, macOS/iOS with Metal and Windows with DX12
- No repro on Windows with Vulkan/DX11
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
- UI Builder can't set a background image to a sprite from a multi-sprite spritesheet in the Resources folder
- Light2D freeform does not render the internal part when rendered in certain shapes
- Using AddCopyPass causes an incorrect merging of passes.
- Negative Enum value is not pasted correctly when copying from another array
- Silent Crash when generating Lightmap UVs for a model with a large object scale
Resolution Note (2019.3.X):
when camera's targetTexture is set to null, the camera starts using the SwapChain's backbuffer which is not scalable. The camera's rendertargets (i.e. the swapchain backbuffers at this time) are not included in the ScalableBufferManager thus the resize buffers have no effect on those buffers.