Search Unity

  1. We are migrating the Unity Forums to Unity Discussions. On July 12, the Unity Forums will become read-only.

    Please, do not make any changes to your username or email addresses at id.unity.com during this transition time.

    It's still possible to reply to existing private message conversations during the migration, but any new replies you post will be missing after the main migration is complete. We'll do our best to migrate these messages in a follow-up step.

    On July 15, Unity Discussions will become read-only until July 18, when the new design and the migrated forum contents will go live.


    Read our full announcement for more information and let us know if you have any questions.

Feature Request Problems with initializing maps to collect map data for turn-based games

Discussion in 'ML-Agents' started by sthuacheng, Aug 28, 2023.

  1. sthuacheng

    sthuacheng

    Joined:
    Apr 19, 2018
    Posts:
    2
    If I have a map that consists of 1000 hexes, which includes the map index, terrain, altitude, and other data. Then I need to collect this data every turn in CollectObservations using BuffSensor. Because the map data is constant, and the map data may get even bigger in the future. So is there a way to collect the map data only once during initialization?
    If you know, what is the method?
    Thanks a lot guys!