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!
Linux Mint 19.3 | GTX-1080Ti | AMD FX-8320 (OCed 4.4GHz) | 16GB RAM
User avatar
Synthercat
Licensed Customer
Licensed Customer
 
Posts: 284
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: 969
Joined: Wed Jan 18, 2017 3:09 pm

Return to Octane for Unity


Who is online

Users browsing this forum: No registered users and 13 guests

Thu Apr 18, 2024 11:17 pm [ UTC ]