Quantcast
Viewing latest article 1
Browse Latest Browse All 14

Answer by andresp

Create an editor script containing this: using UnityEditor; public class FBXScaleFix : AssetPostprocessor { public void OnPreprocessModel() { ModelImporter modelImporter = (ModelImporter) assetImporter; modelImporter.generateSecondaryUV = true; } } and place it in your "Editor" folder within your project directory. Then reimport all your assets. They should now have "Generate Lightmap UVs" option enabled.

Viewing latest article 1
Browse Latest Browse All 14

Trending Articles