Jump to content

babylon unity5 exporter issue


ragingclaw
 Share

Recommended Posts

Hey guys, I am having an issue getting the babylon unity exporter working. I have cloned the latest repo of babylon and placed the Unity3D2Babylon folder in the Assets directory of my project. I get the error "Assets/Unity3D2Babylon/ExporterWindow.cs(146,35): error CS1525: Unexpected symbol `<internal>`

I have tried with a brand new project as well as an existing project and I get the same error. The line it points to specifically is: ReportProgress(1, $"Exportation done in {watch.Elapsed.TotalSeconds:0.00}s");
and it's choking on the $. I don't know enough C# to effectively troubleshoot this further lol.

I have attached screenshots of the error console, unity version, script, and my Unity3D2Babylon directory. Any help would be awesome. 

Thanks!


 

unity_to_babylon_error.jpg

unity3d2babylon_directoy.png

Link to comment
Share on other sites

Thanks for the reply. Sorry to get back 3 hours later, i forgot to turn on notifications lol. After coming home and trying on my personal machine i ran into the exact same issue on an older version of unity (5.0.1f1) I then commented out the line as you suggested. This is the new error:
Assets/Unity3D2Babylon/ExporterWindow.cs(8,19): error CS0234: The type or namespace name `SceneManagement` does not exist in the namespace `UnityEngine'. Are you missing an assembly reference?

I then got the idea to upgrade unity on my personal machine but im in a hotel and the internet sucks so this might take all night. I just came up to PA to work for a place called Neo-Pangea. You've probably talked with Shane :)

new_error_cs0234.jpg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...