-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Script compile bug in sys/audio.cs #6
Comments
Interesting, I can't actually reproduce this issue. Can you pull from master again, and then post your console.log either here or on pastebin or something? |
It doesn't run, it simply won't compile the .cs, Launching the executable simply crashes. |
Ah, I'll try it with a x64 executable. EDIT: which engine branch are you compiling from? Development? EDIT: Okay, reproduced with latest development head CMake x64. Might be a little while till I get round to looking into this properly. Probable it's related to the TS changes that have gone into 3.7 so far. |
I've also tried T3D's 3.6.1 master branch with t3d-bones master branch as well, the game starts, but the console still spews out the following
|
Hmmmm okay. I'll probably not get to this in the next two days due to work, but I'll see what I can find out! |
It's the last /// before function. The TS compilier doesn't like an empty comment with 3 "/" ...something I or james should probably fix :p |
Also discussed here: GarageGames/Torque3D#396 |
This is a long-standing bug with the compiler. Basically "///" inserts a documentation block but the parser isn't parsing it correctly. |
I thought that was only an issue on Linux! |
nope =) |
When downloading a fresh release of the master branch, the script compilation fails on file audio.cs
https://github.com/eightyeight/t3d-bones/blob/master/sys/audio.cs#L381
Placing the line singleton SimSet( SFXPausedSet ); with the other singleton definitions at the top of the file fixes the issue.
Not submitted as a Pull request as this might point the way to another bug? i.e. singletons defined after functions breaks script compilation.
The text was updated successfully, but these errors were encountered: