BoJack
Topic Author
Posts: 11
Joined: 28 Apr 2020, 12:16

Trim Blend error using json2xaml

11 Aug 2020, 10:01

Hi, I have made some animations on After Effect and used json2xaml to convert them, they all work fine on unity but my project crash when i test it on blend:
I have use trim on my animation.
When i go on the screen where the animation is on blend, my app goes in break mode and i have System.InvalidOperationException error, here are the detail :

Message=Unable to resolve all property references in property path 'TrimStart'. Verify that the applicable objects support the properties.
Source=PresentationFramework

The problem seems to come from all the Trim line:
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="TrimStart" Storyboard.TargetName="Path17">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:0" Value="0"/>
                            <LinearDoubleKeyFrame KeyTime="0:0:2.23" Value="1"/>
                        </DoubleAnimationUsingKeyFrames>
                        <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="TrimEnd" Storyboard.TargetName="Path17">
                            <DiscreteDoubleKeyFrame KeyTime="0:0:1.5" Value="0"/>
                            <LinearDoubleKeyFrame KeyTime="0:0:3.32" Value="1"/>
                        </DoubleAnimationUsingKeyFrames>
Any idea?
 
User avatar
jsantos
Site Admin
Posts: 2900
Joined: 20 Jan 2012, 17:18
Contact:

Re: Trim Blend error using json2xaml

11 Aug 2020, 11:14

This was wrong, I have fixed it on our GitHub repository

https://github.com/Noesis/Lottie-Noesis ... 614439c974

With this fix and using the package Noesis.GUI.Extensions as explained in Noesis Extensions tutorial everything should work.
 
BoJack
Topic Author
Posts: 11
Joined: 28 Apr 2020, 12:16

Re: Trim Blend error using json2xaml

11 Aug 2020, 12:22

Thanks, everything work!
 
User avatar
jsantos
Site Admin
Posts: 2900
Joined: 20 Jan 2012, 17:18
Contact:

Re: Trim Blend error using json2xaml

11 Aug 2020, 12:31

Great! Closing this

Who is online

Users browsing this forum: Google [Bot] and 1 guest