ragingclaw Posted May 23, 2016 Share Posted May 23, 2016 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! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 23, 2016 Share Posted May 23, 2016 Hey...the $ is a new C# keyword for string literals. You can edit the code and just comment this line..Let me know if this is the problem Quote Link to comment Share on other sites More sharing options...
ragingclaw Posted May 24, 2016 Author Share Posted May 24, 2016 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 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 24, 2016 Share Posted May 24, 2016 I did are you on win10? You should install the very latest version of Unity3d to be safe. I'm doing the test right now Quote Link to comment Share on other sites More sharing options...
ragingclaw Posted May 24, 2016 Author Share Posted May 24, 2016 At work its the very latest unity, just installed it today lol. Im almost done upgrading my pc at the hotel now but the beers might kick in by the time its done haha Oh, and yes, I am on windows 10 on both machines Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 24, 2016 Share Posted May 24, 2016 Ok it was a bug on my side. Please redownload the exporter, it should be fine now Quote Link to comment Share on other sites More sharing options...
ragingclaw Posted May 24, 2016 Author Share Posted May 24, 2016 I'll have to test it in the morning since unity is still upgrading lol. stupid hotel internet Thanks for all your help! I'll let you know how it goes in the morning. Quote Link to comment Share on other sites More sharing options...
ragingclaw Posted May 24, 2016 Author Share Posted May 24, 2016 WOOHOO it works! Thanks a ton man! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted May 24, 2016 Share Posted May 24, 2016 Cool Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.