2D Toolkit Forum
2D Toolkit => Support => Topic started by: LilBitStudio on April 19, 2015, 08:01:11 pm
-
Using the latest Unity 5 (non-patch and latest patch), the sprites stop rendering in the scene when using the animation editor. Anyone else experiencing this issue?
A video demonstrating the issue:
https://www.dropbox.com/s/fw3fcysfwmjvwzp/tk2d-blanking.mp4?dl=0
I'm not getting any errors in the console. Have to play/stop the scene or reload before the sprites begin showing again. Makes creating animations next to impossible. Scott
-
I too am getting this, and you are right that animations are all but impossible. This never was an issue with 4.6.x for me.
- Matt.
-
Managed to reproduce this. Try adding this to tk2dSprite.cs and see if it works better. It looks like Unity is resetting to prefab values every time you click something while recording...
void OnValidate()
{
MeshFilter meshFilter = GetComponent<MeshFilter>();
if (meshFilter != null)
{
meshFilter.sharedMesh = mesh;
}
}
-
Works like a champ now. Thanks for the fast response! Scott