Cannot set any element to my serializble Attack

Hi , i cannot set anything to my Attack
photo_2023-04-21_21-30-22
I tried to another object for example a sphere and is working there.
Any ideas ?

Actually the problem was in window, i do not know why it is not showing the + or -.

Can you share some code here? What is the Attack type?

You could be encountering Unity’s Reorderable bug, which breaks the display of lists and arrays.
Try putting this tag before the [SerializedField] tag on the Attacks declaration

[NonReorderable]

This should prevent the inspector from trying to draw the new fancy list/array inspector, and go back to the old way, which while boring, is not buggy.

it was a problem with my window , it did not show full inspector

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.

Privacy & Terms