ES2UserType_UnityEngineLight script error - can't build

Easy Save 2 has been replaced by Easy Save 3, so is no longer supported.
Locked
Zeevex
Posts: 1
Joined: Wed Feb 06, 2019 4:35 am

ES2UserType_UnityEngineLight script error - can't build

Post by Zeevex »

I'm using ES3, do i need this script in the project?
I can't build as this script is not allowing me
Error Message:

"Assets\Easy Save 2\Types\ES2UserType_UnityEngineLight.cs(38,6): error CS1061: 'Light' does not contain a definition for 'lightmapBakeType' and no accessible extension method 'lightmapBakeType' accepting a first argument of type 'Light' could be found (are you missing a using directive or an assembly reference?)"
User avatar
Joel
Moodkie Staff
Posts: 4849
Joined: Wed Nov 07, 2012 10:32 pm

Re: ES2UserType_UnityEngineLight script error - can't build

Post by Joel »

Hi there,

You should be safe to delete this, but afterwards you should go to Assets > Easy Save 2 > Manage Types and press Refresh ES2Init so Easy Save knows it has been deleted.

Note that if other ES2Types depend on this, you may also need to delete them. You will see errors in the console for these scripts if this is the case.

All the best,
Joel
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Locked