How to do it in unity 5.6?
have a look at the mesh renderer, the setting was moved there (âscale in lightmapâ).
Iâm inconsiderate. Thanks a lot.
One of the issues am having is that mesh renderer has not updated to the new one. How come?
Nice one.An undocumented change by Unity.
Undocumented indeed, this page still has old info : Unity - Manual: The Lighting window and the linked draft doesnât mention it either.
But at the very least it seems like theyâre working on updating the docs.
For some reason (using 5.6) scaleInLightmap is not visible as an option under Mesh Renderer.
I had to go into the .prefab and manually change âm_ScaleInLightmap: 1â to âm_ScaleInLightmap: 0â
Hey!
Iâm the dev responsible for this upgrade and hopefully I can help you.
If looks like you have winded up in the debug version of the inspector.
If you have this one selected, we only generate and show some stuff, but non of the custom UI I had made is being shown. So just select âNormalâ here and you should be okay If this doesnât work, there might be an issue with custom scripts. Try remove all the scripts and see if that fixes it.
Ping me if it doesnât work!
If youâre not seeing these properties in a (static) MeshRenderer, make sure your project doesnât have any old custom MeshRenderer inspectors lying around i.e. [CustomEditor(typeof(MeshRender))]. We had the âmissing lightmap scaleâ problem (after a BIG jump from Unity 5.4 to Unity 2017.2). It seems like DrawDefaultInspector and base.OnInspectorGUI donât actually draw the ârealâ inspector for MeshRenderer properly. We fixed it by deleting our MeshRenderer editor. We couldnât see any easy workaround to enable us to still use a custom MeshRenderer editor - so maybe this is a bug for someone at Unity to log, cause I havenât reported it anywhere else apart from right here
Hope this helps someone.
Ta
Andrew