Playmaker Forum
PlayMaker Help & Tips => PlayMaker Help => Topic started by: Arnoob on June 12, 2019, 06:12:29 PM
-
Hello every one.
What is happening is really weird. I was working normally on unity, using playmaker arrays and what not, and all of a sudden an error message popped, preventing me to continue working.
2 Playmaker actions are apparently problematic now (they weren't until then) :
"ArrayContains" and "CallMethod". Those two are crutial for my work, and I can't afford to delete them.
Here are the error logs :
Assets/PlayMaker/Actions/Array/ArrayContains.cs(65,16): error CS0117: `Array' does not contain a definition for `FindIndex'
Assets/PlayMaker/Actions/Array/ArrayContains.cs(68,17): error CS0117: `Array' does not contain a definition for `IndexOf'
Assets/PlayMaker/Actions/ScriptControl/CallMethod.cs(111,52): error CS0117: `Array' does not contain a definition for `CreateInstance'
What can I do to solve this problem? It is critical for me to be able to continue my work without having to start over the project.
-
Did you import any scripts recently? From that error I would guess that another script is defining Array in the global namespace, hiding the system Array type.
-
Nope, none of them.
However now that you mention it, I misstyped "Array" in the component add bar. Maybe is this related? Did I create a script just like that?
-
Yes :) Look for that Array script and delete it.
-
Okay I found it and it worked! Thank you a lot! ;D I'll be careful with that now.