cancel
Showing results for 
Search instead for 
Did you mean: 

Scripts in Oculus folder cant reference other scripts

invisage13
Level 2
I understand this is probably the case of the Oculus developers setting up an assembly definition file so that their scripts compile first, but can anyone confirm 100% why it is that all the scripts in the Oculus folder cannot reference any scripts outside it?

Thanks!
1 REPLY 1

sascha_ledinsky
Level 3
Assemblies get compiled into separate C# DLLs. You can reference other DLLs in the .asmdef files (via Unity inspector).
You could also try to delete the .asmdef, this way all the scripts will become part of your main assembly (I haven't tried this, make sure you can revert).