Page 1 of 1

Octane not working with Unity UI?

PostPosted: Wed Oct 24, 2018 3:23 pm
by lineofsight
Hi,

why doesn't Octane render the native Unity UI? I'm working with Unity 2017.3.1p1 and Octane 1.1.1.1324. Am I missing something?

Thanks a lot!

Re: Octane not working with Unity UI?

PostPosted: Thu Oct 25, 2018 6:17 am
by FredMaher
(Total newbie here)
I can confirm. (do I need to specify a license type for free single GPU use?)
I just tried with Unity 2018.2.8f1 AND 2018.3.0b7 with
Octane 1.1.1.1341
I get 2 Unity console errors:

Failed to locate cudnn64_7.dll
UnityEngine.Debug:LogError(Object)
Octane.DynamicLibrary:CheckPath()
Octane.DynamicLibrary:Load()
Octane.PluginDllLoader:LoadLibraries()
OctaneUnity.PluginController:Init()
OctaneUnity.PreferenceWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

AND

IOException: Sharing violation on path C:\Users\FREDSTOY\AppData\Local\Octane\Unity\2018.3.0b7_1.1.1.1341_T1\libfbxsdk.dll
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
System.IO.File.Create (System.String path, System.Int32 bufferSize) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.IO.File.Create (System.String path) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.IO.File.WriteAllBytes (System.String path, System.Byte[] bytes) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
OTOY.OctaneUnityPackage.Unpack (System.String inputFile, System.String outputDirectory) (at <3e79a0320ecc4479a2ea70ba217b866c>:0)
OctaneUnity.Upgrader.DownloadCompleted (System.String file, System.Boolean success) (at <3e79a0320ecc4479a2ea70ba217b866c>:0)
OctaneUnity.ServerClient.DownloadUpdate () (at <3e79a0320ecc4479a2ea70ba217b866c>:0)
OctaneUnity.ServerClient.Update () (at <3e79a0320ecc4479a2ea70ba217b866c>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)

Re: Octane not working with Unity UI?

PostPosted: Fri Oct 26, 2018 7:18 am
by lineofsight
Fred, please open a new thread. Your Problem has nothing to do with mine. I'm talking about Octane not rendering the Unity UI (i.e. Canvases, Buttons, Sliders, Panels etc.)

That being said, your sharing violation error most likely results from you having two Unity instances (or another second process) open and both are trying to access the same file.
IIRC, restarting Unity after the sharing violation has been taken care of should also fix the missing DLL error.

Re: Octane not working with Unity UI?

PostPosted: Mon Oct 29, 2018 9:40 am
by Xhed
lineofsight wrote:Hi,

why doesn't Octane render the native Unity UI? I'm working with Unity 2017.3.1p1 and Octane 1.1.1.1324. Am I missing something?

Thanks a lot!


The native Unity's UI is quite slow when drawing it from script (which we do for things like the Render Target controls), and converting the entire Octane UI (especially with all the messaging back and forth between Octane and Unity) would be too much of a performance impact.

Re: Octane not working with Unity UI?

PostPosted: Mon Oct 29, 2018 9:45 am
by Xhed
FredMaher wrote:(Total newbie here)
I can confirm. (do I need to specify a license type for free single GPU use?)
I just tried with Unity 2018.2.8f1 AND 2018.3.0b7 with
Octane 1.1.1.1341
I get 2 Unity console errors:

Failed to locate cudnn64_7.dll
UnityEngine.Debug:LogError(Object)
Octane.DynamicLibrary:CheckPath()
Octane.DynamicLibrary:Load()
Octane.PluginDllLoader:LoadLibraries()
OctaneUnity.PluginController:Init()
OctaneUnity.PreferenceWindow:OnGUI()
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

AND

IOException: Sharing violation on path C:\Users\FREDSTOY\AppData\Local\Octane\Unity\2018.3.0b7_1.1.1.1341_T1\libfbxsdk.dll
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize, System.Boolean anonymous, System.IO.FileOptions options) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.IO.FileStream..ctor (System.String path, System.IO.FileMode mode, System.IO.FileAccess access, System.IO.FileShare share, System.Int32 bufferSize) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
(wrapper remoting-invoke-with-check) System.IO.FileStream..ctor(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int)
System.IO.File.Create (System.String path, System.Int32 bufferSize) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.IO.File.Create (System.String path) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
System.IO.File.WriteAllBytes (System.String path, System.Byte[] bytes) (at <ac823e2bb42b41bda67924a45a0173c3>:0)
OTOY.OctaneUnityPackage.Unpack (System.String inputFile, System.String outputDirectory) (at <3e79a0320ecc4479a2ea70ba217b866c>:0)
OctaneUnity.Upgrader.DownloadCompleted (System.String file, System.Boolean success) (at <3e79a0320ecc4479a2ea70ba217b866c>:0)
OctaneUnity.ServerClient.DownloadUpdate () (at <3e79a0320ecc4479a2ea70ba217b866c>:0)
OctaneUnity.ServerClient.Update () (at <3e79a0320ecc4479a2ea70ba217b866c>:0)
UnityEditor.EditorApplication.Internal_CallUpdateFunctions () (at C:/buildslave/unity/build/Editor/Mono/EditorApplication.cs:200)


Could you check this thread? I respond to a similar issue there.