Search Issue Tracker
Fixed in 2018.2.X
Votes
3
Found in
5.5.0f3
Issue ID
861457
Regression
No
Errors in Console window when painting a procedurally generated terrain
Steps to reproduce:
1. Open the attached project (GetPixel32Failed.zip)
2. Open the Assets/TestScene.unity scene
3. Switch platform to WebGL
4. You should notice to the above two errors in the console when loading the scene:
GetPixels32 failed: insufficent pixel buffer size (4), must be at least 4 x 4
Failed to get pixels of splat texture
5. Begin painting any of the textures on the terrain in the scene
6. Note the two errors listed above in the console repeated multiple time
Expected result: Painting terrain without errors
Actual result: Console printing error messages
Note:
These error messages only appear when the platform is set to WebGL.
Reproduced with: 5.3.6p8, 5.4.3p4, 5.5.0f3, 5.5.0p2, 5.6.0b2
Comments (2)
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
- The cursor moves into wrong place when renaming folder/asset
- Assertion error "(dx - width < padding) || (dy - height < padding)" when using Pack Preview
- [Memory Profiler] The EntryType.NativeAllocationSites_MemoryLabelIndex of snapshots only reports -1 or 0 instead of the MemLabel used for allocations made from any call site.
- [Vulkan] Artifacts appear in the Player when using Screen Space shadows with orthographic camera
- Errors OnGUIDepth changed & GUIUtility:ProcessEvent when opening Textures with Third Party App
kswiat
Sep 26, 2018 07:39
To solve problem you must in each texture which you use in terrain check Read/Write enable and turn off compression.
LangTao92
Apr 24, 2018 09:38
How to solve this problem?I have take this problem in Window platform project