ViveSoftware / ViveInputUtility-Unity

A toolkit that helps developing/prototyping VR apps.
http://u3d.as/uF7
Other
352 stars 82 forks source link

SendMessage cannot be called during Awake, CheckConsistency, or OnValidate spam #148

Closed wirelessdreamer closed 4 years ago

wirelessdreamer commented 4 years ago

image

I've been seeing page after page of these warnings in multiple projects for a while. any idea where they come from?

chengnay commented 4 years ago

@wirelessdreamer Which version of Unity Editor are you using?

wirelessdreamer commented 4 years ago

2019.2.7.f2

chengnay commented 4 years ago

@wirelessdreamer I might need additional information, Which platform you are targeting? PC? Do you see these warning messages in VIU example scene? Which plugin SDKs you have imported into your project? Could you provide a sample project that will spam these messages for debugging?

wirelessdreamer commented 4 years ago

These warnings came from an if block for another unity version. we removed the block and they went away. Another dev on our team took care of it a few weeks ago, and I forgot about this issue.