TheDudeFromCI / Bones3

Bones³ is a Voxel Editor for Unity. Supports both in-game and in-editor building.
MIT License
58 stars 12 forks source link

Creating texture arrays doesn't occur on the CPU, causing the textures to fail to save. #4

Closed TheDudeFromCI closed 4 years ago

TheDudeFromCI commented 4 years ago

The texture creator uses Graphics.CopyTexture() to perform the copy operation. However, this operation is GPU based and therefore doesn't copy any actual pixel data. Upon restarting Unity, the textures are simply black. This should be fixed.

TheDudeFromCI commented 4 years ago

Fixed in 45adcc82b20b3750e817854232de2cbd68f85e84