2D Toolkit Forum

2D Toolkit => Support => Topic started by: birdkingz on April 11, 2016, 08:11:02 am

Title: Inspector UI doesn't serialized properly in Unity 5.3.4
Post by: birdkingz on April 11, 2016, 08:11:02 am
Steps to reproduce:
1. Create an tk2dUIItem, assign a target to "Send Message"
2. Assign an event in either On Down, On Up, On Click, On Release (Assuming I'm assigning an event in On Down)
3. Save scene (It works here, the event has been serialized during Save Scene)
4. Now change the event that we previously assigned to On Down, to some other events.
5. Save scene
6. Reload the scene, u will notice the tk2dUIItem still holding the first event that we assigned to it instead of the second event.

Please fix.
It must have caused by new Multi-Scene editing in Unity 5.3.4
Title: Re: Inspector UI doesn't serialized properly in Unity 5.3.4
Post by: unikronsoftware on April 14, 2016, 09:37:21 am
Investigating. What version of 2D Toolkit are you on?
I fixed a bunch of Unity 5.3 issues similar to this, but must've missed the UI system.
Title: Re: Inspector UI doesn't serialized properly in Unity 5.3.4
Post by: birdkingz on April 14, 2016, 10:09:59 am
Version 2.5.6
Title: Re: Inspector UI doesn't serialized properly in Unity 5.3.4
Post by: unikronsoftware on April 26, 2016, 11:50:39 pm
Thanks, fix will be in the next version. Here's a patch that will fix this.