Unity Build - Octane Errors

A public forum for discussing and asking questions about the Octane for Unity Alpha

Moderator: ChrisHekman

Post Reply
Lukebryan93
Posts: 2
Joined: Mon Apr 08, 2019 7:33 pm

Hi Guys

So ive recently been developing in unity 2018.3.9f1 and have been using octanes PBR lightmapper. All is well and im getting good results.. however i needed to build my scene for testing but when i come to build my scene (PC) i get the error below.

I've searched the internet and no idea for a solution. I can build my scene at the minute which is a huge set back. Do any of you guys have any idea what could be causing this.



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.
UnityEditor.AssemblyHelper.AddReferencedAssembliesRecurse (System.String assemblyPath, System.Collections.Generic.List`1[T] alreadyFoundAssemblies, System.String[] allAssemblyPaths, System.String[] foldersToSearch, System.Collections.Generic.Dictionary`2[TKey,TValue] cache, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:150)
UnityEditor.AssemblyHelper.FindAssembliesReferencedBy (System.String[] paths, System.String[] foldersToSearch, UnityEditor.BuildTarget target) (at C:/buildslave/unity/build/Editor/Mono/AssemblyHelper.cs:190)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)



Thanks
ChrisHekman
OctaneRender Team
Posts: 1061
Joined: Wed Jan 18, 2017 3:09 pm

The most likely cause is that you need to exclude the editor.dll from standalone. (Octane/Runtime.dll should not be excluded from standalone)
Exclude.png
Let me know if this dosnt help.

Ill check if it possible to have it excluded by default in future versions.
Lukebryan93
Posts: 2
Joined: Mon Apr 08, 2019 7:33 pm

Hi Chris,

Thankyou so much that seemed to do the trick!

However when i have launched the build i have noticed and error with some of my textures. Mainly on the seats..

Image

Im not sure if this is an Octane issue (I doubt it is) However it may be interesting just to see what you think

Thanks
ChrisHekman
OctaneRender Team
Posts: 1061
Joined: Wed Jan 18, 2017 3:09 pm

Do you have the same issue if you build the lightmap with unity?
Post Reply

Return to “Octane for Unity”