burst2flame
Topic Author
Posts: 31
Joined: 11 Mar 2024, 18:04

Error: 'StaticResourceExtension' is not valid for Setter.Value.

31 Jul 2024, 23:59

In my blend project I get the following error:

'StaticResourceExtension' is not valid for Setter.Value. The only supported MarkupExtension types are DynamicResourceExtension and BindingBase or derived types.

This causes previews in the blend project to fail, but in Unity there's no errors and it works fine. Any help?
 
User avatar
sfernandez
Site Admin
Posts: 3363
Joined: 22 Dec 2011, 19:20

Re: Error: 'StaticResourceExtension' is not valid for Setter.Value.

01 Aug 2024, 10:37

It could be a problem with the order of the definition of the resources. A StaticResource can only be used if the referenced resource was defined before in the same dictionary or in a merged dictionary.

Can you check that?

Who is online

Users browsing this forum: No registered users and 6 guests