Basic Code Doesn't work
So this is really bizarre. First time scripting, however.
I've been following tutorials about how to add components, however, with my scripts no components show up in my inspector.
I then tried to copy Snapchat's own code examples from the website, but even the most basic
shows nothing in the logger.
The only messages I get in logger are "lens Reset" "project backup complete". i've restarted it multiple times with no luck.
Are the script components in the scene? If so, what trigger do you have them set to? I.e. Initialized, mouth open, etc
Yes, I had empty scene objects that could be initialized or tapped but neither worked.
Just as a bit of an update, I created a script in Notepad++ and imported it, and this worked, however if I want to make any adjustments I have to open it externally as Lens' own script editor has no effect
Thanks for the input Jye!
When you're using the Script editor, you'll still need to press ctrl+s or cmd+s while in the panel to save changes. Scripts are saved independently from the project.
Let me know if you're still having issues!