+1
Need More Information

Invalid effector for CustomOverlay attribute.

Daniel 3 months ago updated 2 weeks ago 3

Just bought Bolt and I'm already having an error...

It seems to be related to the Graph window.

I press Play and I get this error:

Invalid effector for CustomOverlay attribute.
System.Attribute:GetCustomAttributes(MemberInfo, Boolean)
Ludiq.AttributeCache:.ctor(MemberInfo)
Ludiq.AttributeUtility:GetAttributeCache(MemberInfo)
Ludiq.AttributeUtility:HasAttribute(MemberInfo, Boolean)
Ludiq.<>c:b__9_0(Type)
System.Linq.WhereEnumerableIterator`1:MoveNext()
Ludiq.SingleDecoratorProvider`3:MapAttributeTypes()
Ludiq.SingleDecoratorProvider`3:.ctor()
Ludiq.GraphContextProvider:.ctor()
Ludiq.GraphContextProvider:.cctor()
Ludiq.XGraphContextProvider:Context(GraphReference)
Ludiq.GraphWindow:set_reference(GraphReference)
Ludiq.GraphWindow:b__54_0()
Ludiq.PluginContainer:add_delayCall(Action)
Ludiq.GraphWindow:OnEnable()

Bolt Version:
1.4.11
Unity Version:
2019.2.0f1
Platform(s):
PC - Windows 10
Scripting Backend:
Mono
.NET Version (API Compatibility Level):
.NET 4.x
Need More Information

Hi Daniel,

Sorry you're experiencing this issue and thank you for the report.

Do you have any line numbers available with this stack trace?

Do you get a warning or an error?

At a glance, it seems like this would be a warning, because one of the attributes in your codebase throws an exception when initialized (it is misconfigured). Bolt should, however, be able to recover from this. 

I can't find any information online about a "CustomOverlay" attribute, so I'm guessing this is unique to your source / project. I would try looking at that attribute's constructor and seeing why it's throwing an exception — attributes should generally not throw exceptions on initialization.

Any news on that? Any way we can make sure Bolt doesn't interfere with the official Unity Animation Package?

Thanks!

Were you unable to reproduce it after downloading the Unity Animation package?

Cheers,