Search Unity

Bug NullReference but was working fine before

Discussion in 'ML-Agents' started by Aliamba, Dec 21, 2022.

  1. Aliamba

    Aliamba

    Joined:
    Feb 29, 2020
    Posts:
    4
    I am making a simple agent that moves to a target. Everything was working fine. Then i tried making the setup a prefab so i can easily duplicate and have multiple agents at the same time. And now it does not work anymore. I get this error even if i remove all the duplicates agent and leave only one.

    console.png

    When i double click on the error it goes to line 30 in CommunicatorFactory.cs

    communicatorFactory.png

    If anyone know why please let me know.

    Thanks