ProjectExodus icon indicating copy to clipboard operation
ProjectExodus copied to clipboard

Compiling Error in Unity

Open danouche93 opened this issue 6 years ago • 10 comments

Hi, I'm new here and I saw on your website your Script that seems very cool. I wanted to transfer the scene I made in Unity to Unreal but when I copy the folder ExodusExport in the Asset file, I get compiling error in the console :

photo

I tried with every version of unity but it's the same every where. I also tried with a blank project and I get the same errors. Please help me thanks !

danouche93 avatar Apr 29 '19 14:04 danouche93

Hi. Could you specify unity version and .NET framework version your project uses? Which OS are you using? (windows 10, looks like it?) Are you trying the latest version from github, or are you trying one of the releases?

Additionally... you say the error occurs even on an empty project. Could upload such empty project so I can take a look at it?

NegInfinity avatar Apr 29 '19 19:04 NegInfinity

Additionally, unity-side setup is displayed here:

https://www.youtube.com/watch?v=uE2THH5pI3c

Are you doing the same thing as in the video?

NegInfinity avatar Apr 29 '19 19:04 NegInfinity

Hi thanks for your fast answer. My project is on Unity 2018.2.13f1 version. I'm not sure about the .NET framework version but I guess it is written here in the configuration : photo2 I'm using Windows 10. I'm not sure what you mean by using the latest version from github, I just download the file like in the video tutorial.

Test1.zip

I uploaded the empty project so you can see the errors Thank you!

danouche93 avatar Apr 29 '19 21:04 danouche93

Hi.

Your project uses Unity 2018.2, while the latest version is 2018.3.

However, the actual reason for the compile errors is that you're targeting .NET framework 3.5. The plugin requires .NET framework version 4.

To fix that you need to proejct settings and set it to .NET version 4 equivalent.

image

I believe prior to 2018.3 it was marked "experimental".

The plugin is being developed on version 2018.3 at the moment, and that's recommended version for using the plugin. Version 2018.3 introduced some significant changes in unity api and at the moment it is unlikely that I'll be able to target both new and old versions.

So, I'd recommend to open your project in 2018.3 and switch scripting runtime version to .NET 4 equialent.

Let me know if this works for you.

NegInfinity avatar Apr 30 '19 00:04 NegInfinity

Okay I switched the framework version from 3.5 to 4 but now I get these 2 errors : photo

danouche93 avatar Apr 30 '19 16:04 danouche93

Sorry I didn't see the part where you say to upgrade to 2018.3, it worked thanks a lot!!!!

danouche93 avatar Apr 30 '19 17:04 danouche93

Okay now I have a problem in Unreal. When I copy past the folder ExodusImport in the Plugins folder that I created, I don't see it in the plugin editor even if I re-load the project... Can you help please ?

danouche93 avatar Apr 30 '19 17:04 danouche93

Ok, I feel I talk to myself but actually I put the file the wrong way, now I have this building error that I don't know how to solve after I enable the plugin of ExodusImport : pphoto Untitled I use UE 4.21 version, maybe I should use another version?

danouche93 avatar Apr 30 '19 20:04 danouche93

Hi. For me to look into this, I need some sort of log file.

Normally, in thsi case you'd open *.sln project in visual studio and build it from there. Have you tried that?

NegInfinity avatar May 01 '19 15:05 NegInfinity

@NegInfinity is it possible that you update the importer to a newer version of Unreal? Maybe UE4 4.27 or UE5 ?

xMAKKx avatar Mar 28 '22 18:03 xMAKKx