Search Unity

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:
    78
    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