Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Question Use assembly-csharp code in a custom assembly

Discussion in 'Scripting' started by DevDunk, Mar 6, 2023.

  1. DevDunk


    Feb 13, 2020
    I am using assembly definitions and want to reference scripts from an asset (in assembly csharp) from my script with it's own assembly.
    It gives me an error that the .Player is not available in VS and in Unity tells me that the namespace cant be found.
    Is there a way to fix this or do I have to give up for assembly defenitions? (I am making an asset, so can't add assembly defs to my plugin integrations)


    Using Unity 2021.3.20 and VS 2022