Skip to main content
New Participant
October 2, 2020

Scripts in Oculus folder cant reference other scripts

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!
    This topic has been closed for replies.

    1 reply

    New Participant
    October 5, 2020
    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).