Quantcast
Channel: Answers by "andresp"
Viewing all articles
Browse latest Browse all 14

Answer by andresp

$
0
0
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 all articles
Browse latest Browse all 14

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>