Octane not working with Unity UI?

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

Moderator: ChrisHekman

Post Reply
lineofsight
Posts: 2
Joined: Wed Oct 24, 2018 3:05 pm

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!
FredMaher
Posts: 1
Joined: Thu Oct 25, 2018 6:05 am

(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)
lineofsight
Posts: 2
Joined: Wed Oct 24, 2018 3:05 pm

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.
User avatar
Xhed
OctaneRender Team
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

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.
- Rick
User avatar
Xhed
OctaneRender Team
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

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.
- Rick
Post Reply

Return to “Octane for Unity”