Forum rules - please read before posting.

Error: The same field name is serialized multiple times in the class......

edited July 2017 in Technical Q&A
Hi there,

I am developing the 2d adventure game. 

I use 2 types of camera(2D, 2D drag) in my game.

But after that I use 2D drag camera, this error message is outputted in the console.
-------------------------------------------------------------------------------------------------------------
The same field name is serialized multiple times in the class or its parent class. This is not supported: Base(GameCamera2DDrag) is2D
-------------------------------------------------------------------------------------------------------------
Oddly, it's working. I cannot find actual performance problem in play. 

But still, that error message is outputted.

This is video that I record my screen. Please help me.





image



Comments

  • Inside GameCamera2DDrag.cs, replace the five instances of:

    is2D

    with:

    _is2D

    (Case sensitive)

    I shall include a proper fix in the next release, thanks for the alert.
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.