Scripts commented out but causing errors?


When I comment out scripts instead of removing them from the hierarchy, they still seem to have some effect on the project.

Is this normal?

What are the best practices for testing parts of scripts without affecting others?


Don’t know without seeing your code but you can not have an empty or fully commented out scripts. You will get errors. Just leave at least one line like a Val = something.



This is an interesting feature! Do you know the reason why? I’m used to working in Unity with C# and haven’t come across this before.

Ok - I will try with one script with a functioning line of code. Thanks for the tip as always @stevesanerd!


The only thing I can think of is because Zappar didn’t add a check for empty script.