You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not sure if this is a bug on our plate to fix or if this is a NaniNovel thing, butttttt.........
I encountered an issue today where the enterSGBProject command would not do anything. It was treated as if it didn't exist while running an existing naniscript - the parser would hop right over it. I modified the implementation of the command to just print something to the console and exit, and it did not fix the issue. I then created a separate test command to see if I could get ANY custom command to work. In doing this, I modified the naniscript. Then, when running that script, both the new test command AND the original naniscript command worked.
I suspect that all I needed to do was re-import or reload the naniscript somehow to make the original command work. I think this is the case because when I originally opened this project, it could not resolve the IMod Naninovel package as it was configured to use a non-existing local disk path. Perhaps when it imported the script, it compiled it somehow and never re-compiled after fixing the package dep?
We should try to re-create this at some point in the future.
The text was updated successfully, but these errors were encountered:
Interesting tidbit - when removing the test command from the project, I left it in the naniscript. Immediately afterwards it printed an error about the test command not being valid, and even changed the visual of the test command in the inspector. It's strange that this didn't happen with the enterSGBProject command. Maybe my gut feeling is wrong?
Not sure if this is a bug on our plate to fix or if this is a NaniNovel thing, butttttt.........
I encountered an issue today where the
enterSGBProject
command would not do anything. It was treated as if it didn't exist while running an existing naniscript - the parser would hop right over it. I modified the implementation of the command to just print something to the console and exit, and it did not fix the issue. I then created a separate test command to see if I could get ANY custom command to work. In doing this, I modified the naniscript. Then, when running that script, both the new test command AND the original naniscript command worked.I suspect that all I needed to do was re-import or reload the naniscript somehow to make the original command work. I think this is the case because when I originally opened this project, it could not resolve the IMod Naninovel package as it was configured to use a non-existing local disk path. Perhaps when it imported the script, it compiled it somehow and never re-compiled after fixing the package dep?
We should try to re-create this at some point in the future.
The text was updated successfully, but these errors were encountered: