NegInfinity / ProjectExodus

Project Exodus - Unity to Unreal scene/project transfer tool.
BSD 3-Clause "New" or "Revised" License
491 stars 97 forks source link

Compiling Error in Unity #7

Open danouche93 opened 5 years ago

danouche93 commented 5 years ago

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 !

NegInfinity commented 5 years ago

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 commented 5 years ago

Additionally, unity-side setup is displayed here:

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

Are you doing the same thing as in the video?

danouche93 commented 5 years ago

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!

NegInfinity commented 5 years ago

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.

danouche93 commented 5 years ago

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

danouche93 commented 5 years ago

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

danouche93 commented 5 years ago

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 commented 5 years ago

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?

NegInfinity commented 5 years ago

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?

xMAKKx commented 2 years ago

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