2D Toolkit Forum

2D Toolkit => Support => Topic started by: pako on December 27, 2015, 09:45:04 am

Title: DefaultAsset does not exist error in Unity 4.7
Post by: pako on December 27, 2015, 09:45:04 am
After I upgraded to Unity 4.7 I got a couple of errors "DefaultAsset does not exist" (attached snapshot of console).

I added: || UNITY_4_7  at the end of the #if condition, in lines 663 and 802 of tk2dSpriteCollectionEditorPopup.cs, and the errors went away.

However, I didn't look deep into this, and I don't know if this breaks anything.  So, is this fix OK?

Thanks
Title: Re: DefaultAsset does not exist error in Unity 4.7
Post by: unikronsoftware on December 28, 2015, 11:37:01 pm
Hi there,

No harm in doing that, and indeed that is what needs doing. I'll release an update with this fix and a couple Unity 5.3 fixes. Thanks for reporting this!