Is this a bug or what?

Is this a bug or what?

Hans_Redman
Advocate Advocate
342 Views
2 Replies
Message 1 of 3

Is this a bug or what?

Hans_Redman
Advocate
Advocate

# TypeError: Invalid argument 1, '['LayeredTexture_0000']'. Expected arguments of type ( , ) #
Why it doesn't tell me what type do I need?
Hans_Redman_0-1642119231924.png

 

0 Likes
Accepted solutions (1)
343 Views
2 Replies
Replies (2)
Message 2 of 3

jmreinhart
Advisor
Advisor
Accepted solution

It is telling you which type to use. The input you gave '['LayeredTexture_0000']' is a string (it's easy to miss that second pair of quotes around the list that tells you it's a string). It want's a tuple or list, that's why it's showing you an empty tuple as the desired input (,). Hope that helps.

Message 3 of 3

Hans_Redman
Advocate
Advocate
Aha! I see.
Cheer mate
0 Likes