The texture importer in Unity 5.5 (currently in beta) got a big refactor. This PR fixes a bunch of warnings.
Also, in case you're wondering why importer.generateMipsInLinearSpace = true; is missing from the 5.5 code path, it's been removed (mipmaps are always generated in linear space).
The texture importer in Unity 5.5 (currently in beta) got a big refactor. This PR fixes a bunch of warnings.
Also, in case you're wondering why
importer.generateMipsInLinearSpace = true;
is missing from the 5.5 code path, it's been removed (mipmaps are always generated in linear space).