Hello there
Issue 1:
PBR Lightmapper stops with those error messages
Material doesn't have a float or range property '_Parallax'
UnityEngine.Material:GetFloat(String)
OctaneUnity.<>c:<ResetSceneFromBaking>b__60_0(Material, UnityMaterial)
OctaneUnity.ObjectLink`2:ExecuteForeach(ForeachDelegate)
OctaneUnity.Scene:ResetSceneFromBaking(Boolean)
OctaneUnity.PBRLightmapper:Cleanup()
OctaneUnity.PBRLightmapper:UpdateInternal()
OctaneUnity.UpperManagement:Update()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
Material doesn't have a float or range property '_Glossiness'
UnityEngine.Material:GetFloat(String)
OctaneUnity.<>c:<ResetSceneFromBaking>b__60_0(Material, UnityMaterial)
OctaneUnity.ObjectLink`2:ExecuteForeach(ForeachDelegate)
OctaneUnity.Scene:ResetSceneFromBaking(Boolean)
OctaneUnity.PBRLightmapper:Cleanup()
OctaneUnity.PBRLightmapper:UpdateInternal()
OctaneUnity.UpperManagement:Update()
UnityEditor.EditorApplication:Internal_CallUpdateFunctions()
Issue 2:
Why can't I pre-render lightmaps for example and then export to a normal regular android project?
Why do I get this error trying to export to android:
ArgumentException: The Assembly UnityEditor is referenced by Editor ('Assets/Plugins/Octane/Editor.dll'). But the dll is not allowed to be included or could not be found.
Thank you!
PBR Lightmapper doesn't work yet + Android export
Moderator: ChrisHekman
- Synthercat
- Posts: 284
- Joined: Mon Aug 30, 2010 11:12 am
- Location: Thessaloniki Greece
Linux Mint 19.3 | GTX-1080Ti | AMD FX-8320 (OCed 4.4GHz) | 16GB RAM
- ChrisHekman
- Posts: 1054
- Joined: Wed Jan 18, 2017 3:09 pm
Code: Select all
Issue 1:
Regardless, I have fixed this issue and should be part of the next build.
This is happening in the cleanup phase, so the PBR Lightmapper should have finished maps, is this correct?
Unity sets limitations on this sadly. You can use octane generated lightmaps by setting them manually, or using the OctaneLightmapData class.Why can't I pre-render lightmaps for example and then export to a normal regular android project?
You need the editor.dll to be excluded from your runtime build. The option to do this should be visible in the inspector when you select the editor.dll.ArgumentException: The Assembly UnityEditor is referenced by Editor ('Assets/Plugins/Octane/Editor.dll'). But the dll is not allowed to be included or could not be found.