I’m trying to get one C# script in Standard Assets folder to access another C# script in a subfolder of Standard Assets, but get the “type or namespace name … could not be found” error for some reason, although a JS script can access that script just fine (the JS script is in Scripts folder). Is there some arcane bug that prevents a script in Standard Assets from accessing a script in a subfolder of Standard Assets even if the scripts are in the same language?
Doesn’t anyone know whether this is expected behavior, and whether there’s a workaround?
No, it’s not expected behaviour. You could help by mentioning what scripts you’re having issues with, and posting the error message.
For anyone else who may have a similar problem: I solved it by including the full namespace, which wasn’t needed in the JS version but is necessary in C#.