PBR Lightmapper doesn't work yet + Android export

Forums: PBR Lightmapper doesn't work yet + Android export
A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

PBR Lightmapper doesn't work yet + Android export

Postby Synthercat » Tue Jan 07, 2020 2:17 pm

Synthercat Tue Jan 07, 2020 2:17 pm
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!
Windows 10 64bit | GTX-770 OC 2GB + GTX-460 768MB | AMD FX-8320 (8 X 4.4GHz OC) | 16GB RAM
User avatar
Synthercat
Licensed Customer
Licensed Customer
 
Posts: 272
Joined: Mon Aug 30, 2010 11:12 am
Location: Thessaloniki Greece

Re: PBR Lightmapper doesn't work yet + Android export

Postby ChrisHekman » Mon Jan 20, 2020 11:03 am

ChrisHekman Mon Jan 20, 2020 11:03 am
Code: Select all
Issue 1:

This is odd, as this shouldnt stop the PBR lightmapper as those shouldnt be errors but warnings.
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?

Why can't I pre-render lightmaps for example and then export to a normal regular android project?

Unity sets limitations on this sadly. You can use octane generated lightmaps by setting them manually, or using the OctaneLightmapData class.

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.

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.
ChrisHekman
OctaneRender Team
OctaneRender Team
 
Posts: 479
Joined: Wed Jan 18, 2017 3:09 pm

Return to Octane for Unity


Who is online

Users browsing this forum: Google [Bot] and 2 guests

Wed Feb 19, 2020 5:20 pm [ UTC ]