slipster216 / PlayableShaderGlobals

Allows you to easily add new shader globals to the Timeline feature in unity 2017
MIT License
59 stars 10 forks source link

Unable to save PlayerShaderGlobalTrack when project is closed #1

Open saucissevolante opened 6 years ago

saucissevolante commented 6 years ago

Hi there,

This is agreat and powerful tool, really what I was looking for ! But all Player Shader Global Tracks in my timeline vanish when I close and open my project again. Any Idea ? I'musing Unity 2017.2.0f3

(I've got this message when I create a track : No script asset for PlayerShaderGlobalTrack. Check that the definition is in a file of the same name.)

Thanks

ogoshen commented 6 years ago

This also causes runtime serialization exceptions when runnings builds, problem is a mismatch in class name here: https://github.com/slipster216/PlayableShaderGlobals/blob/286946022d4a80ad84bbc56f57ff5a93e903e01f/Scripts/PlayableShaderGlobalTrack.cs#L12

Should be PlayableShaderGlobalTrack