Posted September 14, 2023 by KWYume
#unity #2d game kit #Water2D #grabPos
If I added water prefabs which contain Water2D Shader, when I compile the game, it returns an invalid subscript 'grabPos' at line 56 error.
However, when I removed the water prefabs - such as Acid that contains the Water2D Shader, the game complies.
I am looking for a fix or walkaround.