- Home /
Lightmap giving weird geometries in 5.3.0f4
We have a Lightmap made with Unity 5.2.1 (probably) in a 5.3.0f4 project. Once you reload the project (opening the project in a different computer or downloading again the project from the repository) and the Library folder content is regenerated, the main scene textures gets corrupted (some of them). Here you can see the door's or column's textures showing black areas.
When we try to run the scene the geometries of the meshes change and the hole scene gets corrupted. Only during the execution of the application.
The console return the following error multiple times:
Failed setting triangles. Some indices are referencing out of bounds vertices.
The environment uses the following asset from the Asset Store: https://www.assetstore.unity3d.com/en/#!/content/17718. Clearing the Lightmap solves the probem so we think it has something to do with it.
These are the things we have already tried:
Reimport the Assets into the project
Bake the scene again
Ensure the "Generate Lightmap UVs" field of the models is ticked
Trying to bake again the scene returns the following error repeatedly in a never ending build:
Failed executing external process for “Final Gather” job
This baking has tried to be made in Unity 5.3.0f4, 5.3.1 and even 5.4.0b, returning always the same error. The OS that we are using for this is Windows 10.
Does this problem occurs in other scenes? Have you tried to remove something from the scene to check if it causes problem?
In other project the textures show also black areas under similar circumstances (the lightmap was done in previous versions of Unity), but when running the scene it doesn't corrupt the geometries.
I tried to disable the GameObjects with the texture corrupted but the problem of the Geometries persists. In principle, the problem shouldn't be related to the models in the scene taking into account that the asset have good ratings and nobody has complained about the asset causing problems. Also the configuration of each model in the inspector is equivalent to the other models of the scene.
Your answer
Follow this Question
Related Questions
SDK updater failed 0 Answers
I get 2 errors in my AI script and 1 warning and can`t figure it out by myself.. 1 Answer
ScreenPointToRay 1 Answer
WebGL file doesn't work, I can't change levels?! 0 Answers
Unity webplayer 1 Answer