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 Texture2DArray
causes an exception in the importer, that the Texture2DArray asset is left in a broken state. Now it will create a magenta Texture2DArray 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 Texture2DArray asset when changing a dependency, on an earlier failed Texture2DArray import.
After installing this update, it will trigger a reimport of all Texture2DArray assets in the project and Texture2DArray's will no longer be readable via scripts by default.
- Added ability to toggle whether the Texture2DArray is readable from scripts at the expense of consuming more memory when turned on. The default is off. Thanks to Guarneri1743 for the contribution, see PR#7.
- Creating a new Texture2DArray 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 Enabled
option.
After installing this update, it will trigger a reimport of all Texture2DArray assets in the project.
- Fixed Texture2DArray not updating its texture format when changing the build target with Asset Import Pipeline V2 being used. Thanks to Bastien of Unity Technologies for the help (actually providing the fix/workaround). This should solve issue #3.
- Fixed compile error in Unity 2020.2 (ScriptedImporter was moved to a different namespace)
- Don't display the Texture2DArray imported object twice in the Inspector
- Removed "partial" keyword from the Texture2DArrayImporter class.
- Added missing reference Unity TestRunner assemblies to Texture2D Import Pipeline test assembly.
- Various documentation fixes.
- First release