Error with using the key word "ES2."

Discussion and help for Easy Save 3
Post Reply
ariza8627
Posts: 16
Joined: Sun Jul 07, 2019 8:06 pm

Error with using the key word "ES2."

Post by ariza8627 »

So I have this method:
public void save()
{
_BaseStats script = managerScript.GetComponent<_BaseStats>();
ES2.Save(script.publicLevel, "currentLevel");
}
But It's telling me that the name ES2 does not exist in the current context.
I'm dumb I guess because I cant figure this out.
ES2Init, ES2UniqueID, ES2_AudioClip, ES2_GameObject and ES2_RawTexture2D are all giving me shortcut options but not just ES2.
Help?
User avatar
Joel
Moodkie Staff
Posts: 4846
Joined: Wed Nov 07, 2012 10:32 pm

Re: Error with using the key word "ES2."

Post by Joel »

Hi there,

I've had no reports of this, but it sounds like Unity isn't including or compiling the Assembly-CSharp-firstpass pass. The most common reason for this is that there is an error in console which needs resolving. Please could you check that there are no errors in the Unity console?

If this does not fix your issue, please could you PM me a basic project which replicates this?

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
ariza8627
Posts: 16
Joined: Sun Jul 07, 2019 8:06 pm

Re: Error with using the key word "ES2."

Post by ariza8627 »

sorry i didnt get back to you sooner.
i deleted the imported files and then reimported them back into my project and the keyword worked just fine afterwards.
i have one more question though and so i thought i would thank you for the assistance before asking.
i will start a new thread for my new question though. thanks again for the help, Joel : )
Post Reply