Search Issue Tracker
By Design
Votes
0
Found in
2021.3.40f1
2022.3.38f1
6000.0.10f1
Issue ID
UUM-75822
Regression
No
Values are not handled as 2D Texture when using CopyActiveRenderTextureToHeightmap
How to reproduce:
1. Open the “IN-80080.zip” project
2. Open the “SampleScene”
3. Enter Play Mode
4. Observe the Console Window
Expected result: No errors are shown and the CopyTexture method handles the “0” values as 2D Textures
Actual result: A “CopyTexture called with identical source and destination element“ error is shown and the values “0” are not handled as 2D Textures
Reproducible in: 2021.3.40f1, 2022.3.38f1, 6000.0.10f1
Reproduced on: Windows 11
Not reproduced on: No other environment tested
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
- "Shader warning in 'Hidden/Light2D': implicit truncation of vector type" is thrown when building Universal 2D template
- AI Assistant breaks compilation of packages using System.Runtime.CompilerServices.Unsafe via auto-referencing
- Unity Hub checks the "Documentation" module by default on the 6.4 and 6.5 streams despite that it was unchecked with the previous installs
- Shortcut that toggles between Dopesheet and Curves Views in the Animation Window's Timeline is mislabed
- Property List Items Overlap onto the Property List's top edge when scrolling through a long Property List
Resolution Note:
The RenderTexture.active (set by Blit()) is the same as the heihtmapTexture.
The error message is correct.
If you want to hide this error you can check if RenderTexture.active == terrain.terrainData.heightmapTexture)