Hello. I am here to ask about something that is really confusing me. I have a system that was working before, but suddenly when I opened it up today, it just gave me an error that I have never seen before. This is pretty confusing. The error says "Cannot convert from 'UnityEngine.GameObject' to 'System.String'." when I try to trigger a custom event, knowing that a lot of my code relies on custom events, and a lot of other events work. Just to note that I am using Visual Scripting, I don't know if there is a newer version that resolves this issue, or if it's an issue with my code.
This is the code I am having a problem with:
![alt text][1]
And this is what it goes to:
![alt text][2]
[1]: /storage/temp/199267-help-me-pls.png
[2]: /storage/temp/199268-help-me-pls-1.png
Pls help. I am so confused, and I have put a lot of work into this, but now it suddenly doesn't work.
↧
cannot convert from unityengine.gameobject to system.string custom event error in visual scripting
↧