Play mode breaks PBR View and Octane Materials

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

Moderator: ChrisHekman

Post Reply
rtilton
Licensed Customer
Posts: 3
Joined: Sun Oct 25, 2015 10:36 pm

Every time I press play in Unity it goes to the game view. When I stop playing and go back to the PBR View I see the window asking me to "Load Octane" again. I click "load octane" and all of the textures I created in the node editor are now broken (reset to default material without any of the textures I connected/tweaked). In order to get the textures back into the node editor i need to remove them (-) and add them again - then create my material and reconnect everything -then tweak the parameters again.

Two questions:
1) How do I make sure my octane materials don't get wiped/reset by Unity all the time?
2) How can I go into play mode with octane renderer?
User avatar
Xhed
OctaneRender Team
Posts: 239
Joined: Wed Jul 10, 2013 10:27 pm
Location: Breda, The Netherlands

Play mode is not currently supported by Octane. Unity reloads all assemblies when going to play mode, so we have no choice other than to reload Octane.
- Rick
rtilton
Licensed Customer
Posts: 3
Joined: Sun Oct 25, 2015 10:36 pm

So there's no way to currently avoid Octane materials being reset when Octane reloads?
keijiro
Licensed Customer
Posts: 2
Joined: Sun Jun 25, 2017 10:11 pm

This is a bit related question: Why is Octane unloaded when compiling C# scripts? This is not a critical issue but can be irritating when trying to create generative contents with scripting.
ChrisHekman
OctaneRender Team
Posts: 1062
Joined: Wed Jan 18, 2017 3:09 pm

keijiro wrote:This is a bit related question: Why is Octane unloaded when compiling C# scripts? This is not a critical issue but can be irritating when trying to create generative contents with scripting.
We had a problem with unity serializing our objects properly between assembly reloads. C# compile reloads the assemblies.
It is on our list of improvements.
ChrisHekman
OctaneRender Team
Posts: 1062
Joined: Wed Jan 18, 2017 3:09 pm

rtilton wrote:So there's no way to currently avoid Octane materials being reset when Octane reloads?
The underlying feature we need should be back in the upcomming octane 3.07 version which will be out soon. We will update as soon as it is back in.
Sorry for the oversight.
Post Reply

Return to “Octane for Unity”