thimok posted on January 1st, 2018
Yedrimas posted on December 31st, 2017
The error seems to be here
The file safetyspiel.ogg does not exist.
Check if the file is still present and you didn't rename it, otherwise remove this resource from the script and add it again. Don't forget to reload.That is the thing my post is about. It's in the resources and I try to access it, but it's using an absolute path (C:\Users....) which I never specified. I only used the StaticSound.loadFromResourceId() method to get the audio file from the resources.
bestdani posted on January 1st, 2018
^^^ My first impression is that this is kind of a bug. But did you tried to use small test scripts in which case the resource works in a package already to confirm that? I had these kind of issues when I used relative backward paths for resources (like ../path) so maybe the combination of using scrips as a package in combination with the resource somehow acts like an implicit relative path which gets converted to a absolute one by the package manager.
I was thinking it possibly could be an NL2 bug as I can't really think of what is wrong. I even tried to access the specific resource in the Master class (which is attached to the coaster), but that didn't solve it.
What do you mean with the test script?
Does anyone know a solution to my problem? I'd like to continue work on my ride but it's the best if this is fixed first. Maybe a lot of work is required to fix it and if I continue working on the ride, I might have to change even more things.


Better and longer Togo layout progress.

!
