All notable changes to this package are documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
- Fixed that when
new Texture3Dcauses an exception in the importer, that the Texture3D asset is left in a broken state. Now it will create a magenta Texture3D instead and log an error to the console. - Perform source texture dependency registration as very first step during the import, to fix that Unity triggers a reimport of the Texture3D asset when changing a dependency, on an earlier failed Texture3D import.
After installing this update, it will trigger a reimport of all Texture3DAtlas assets in the project and Texture3DAtlas's will no longer be readable via scripts by default.
- Added ability to toggle whether the Texture3DAtlas is readable from scripts at the expense of consuming more memory when turned on. The default is off.
- Creating a new Texture3DAtlas asset will now no longer be readable from scripts by default. If you want to restore the previous behavior, you need to enable the
Read/Write Enabledoption.
- Fixed Texture3DAtlas assuming Texture3D support for compressed formats (Case 1208832) works in Unity 2019.4. It works in Unity 2020.1 and newer only. Thanks to Richard for pointing this out.
- Fixed Texture3DAtlas not updating its texture format when changing the build target with Asset Import Pipeline V2 being used. Thanks to Bastien for the help (actually providing the fix/workaround).
- Removed requirement to mark input textures as "Read/Write Enable" due to Case 1208825. The case has been fixed in Unity 2019.4+, thus no need to enforce this anymore.
- Removed enum member
Texture3DAtlasImporter.VerifyResult.NotReadable.
- Don't display the Texture3DArray imported object twice in the Inspector
- Texture3DArrays can use texture compression now, due to Case 1208832 being fixed.
- In Unity 2020.1 and newer, don't require textures have to be using isReadable anymore, because Graphics.CopyTexture has been fixed https://issuetracker.unity3d.com/product/unity/issues/guid/1208825
- When running in Unity 2020.1 and newer, use the new built-in Texture3D preview when viewing a Texture3D asset in the Inspector. The built-in preview is way nicer and has more features than my implementation for Unity 2019.3.
- Several minor documentation fixes.
- First release