#The name does not exist in the player context but does in the editor context.

1 messages · Page 1 of 1 (latest)

acoustic rivet
#

I'm not 100% sure how to describe this but I'm attempting to add code into a library with it's own project in the VS solution explorer however if I try to reference a class from another namespace it will tell me that the class doesn't exist in the current context, labelling the player context as being the issue and the context that I'm pretty sure is for editor stuff is seemingly in the clear. I've tried deleting the .sln, Library folder, and all .csproj files to have them regenerated but that didn't change anything, updating VS didn't change anything, the class in question isn't in an editor script.

BloodiedScales namespace is in Assembly-CSharp if that's relevant. Also I'm on Unity 6000.0.26f1.

I'm not sure what the issue is or where to even start with this, any help would be greatly appreciated. Thank you.

kindred cobalt
#

Are you sure, you have all the right assemblies added to your def of your project?

lime tendon
#

That seems like a likely suspect to me as well. I only recently got to using assemblies, but once I did, I realized that certain packages I had imported into my project had become unavailable and so I had to make sure the assemblies files were configured to reference each other correctly.

kindred cobalt
#

Also sometimes there are more than one assembly def to be concidered like editor scripts or subsystems and so on.