Search Issue Tracker
Won't Fix
Votes
0
Found in
2018.4
2019.3.15f1
2020.2
Issue ID
1268327
Regression
No
Normal Map is malformed when loading GameObject and Material from separate AssetBundles
How to reproduce:
1. Download the attached "1268327.zip" project from the Google Drive link
2. Open the project
3. From the "Scenes" folder open the "Scene1" Scene
4. Enter the Play mode
5. Exit the Play mode and open the "Scene2" Scene
6. Enter the Play mode
Expected result: The Normal Map is applied correctly to the Cube
Actual result: The Normal Map is malformed on the one or more sides of the Cube
Reproduces on: 2018.4.26f1, 2019.4.8f1, 2020.1.3f1, 2020.2.0a21
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
- Texture2D hash changes inside of an AssetBundle when rebuilding a SpriteAtlas bundle with an empty AssetPostprocessor Script enabled
- Aniso Level still applies when Generate MipMap is disabled in Texture Import Settings
- Mipmap Limit Groups long names are not truncated when creating a new Mipmap Limit Group with a long name
- “ArgumentException: Invalid double parameter.” error is thrown when Infinity is typed into the Fixed Timestep field
- GameObject becomes gray when using HDRP and STP together on macOS
Resolution Note:
Mesh optimization works by reading usage data from materials & shaders, so if those two pieces of data are in different bundles, it won't work.
There are some options to fix this issue:
-Not put the material in a bundle leave it as none. When building the bundle, it will put the material in the correct bundle.
-Disable mesh optimization.
-Switch to Scriptable Build Pipeline, it handles dependency better than the current build system.