Search Unity

  1. Unity 2020.1 has been released.
    Dismiss Notice
  2. We are looking for feedback on the experimental Unity Safe Mode which is aiming to help you resolve compilation errors faster during project startup.
    Dismiss Notice
  3. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Uncaught Ut.streaming.streamingservice.getentitygroupdata: Name Entry Is Invalid

Discussion in 'Project Tiny' started by leonhandt, Apr 12, 2019.

  1. leonhandt

    leonhandt

    Joined:
    Jul 12, 2015
    Posts:
    13
    I sure have the EntityGroup
    but I can't spawn it,why?
     
  2. Pakor

    Pakor

    Joined:
    Feb 2, 2017
    Posts:
    32
    Could you add the code where the error occurs? This is not enough information to be able to help
     
  3. Rupture13

    Rupture13

    Joined:
    Apr 12, 2016
    Posts:
    77
    Are you trying to instantiate an EntityGroup using
    ut.EntityGroup.instantiate(this.world, "yourEntityGroupName")
    ?

    If so, you probably didn't add the namespace to the EntityGroup name, which is required for the method to work.

    So instead of
    ut.EntityGroup.instantiate(this.world, "yourEntityGroupName")

    use
    ut.EntityGroup.instantiate(this.world, "game.yourEntityGroupName")

    (assuming you didn't change the default namespace setting "game").
     
    raymondyunity and reallyhexln like this.
  4. leonhandt

    leonhandt

    Joined:
    Jul 12, 2015
    Posts:
    13
    thank you very much,it's work now
     
unityunity