Forum rules - please read before posting.

Constant ID

I may have made a crit error. Im hoping its nothing

I just added in a new object and set it all up with Hotspots, Use, Inspect...scripts.
The whole 9 yards. Then Made a prefab and everything fell apart.
I deleted the new prefab , hotspots,use script , Everything I just added and things are
still a mess.

I am seeing errors stating "Duplicate ID found : NAME 1 / Name 2

I looked at the script and I see IF same ID then run SetNewID()

But I never see the debug message "set new if for Name + New ID"

Looks to me the clean up is in place. But I am not seeing the confirmation.

Not seeing the confirmation has risen my concerns.

is there anything I need to do in order to clean up the errors?


Comments

  • Post a screenshot of your full Inspector - I can't tell otherwise
  • edited February 2015
    http://s14.postimg.org/okvzpf82p/errors.png

    You will notice in the log, The "set new id" confirmation is not present.
    That and the errors always showing is what raises my concerns.
    It appears the code is attempting to correct the issues but never fully corrects things.
  • I need a screenshot of the full Inspector.  It also seems like there's many logs in the console that aren't visible in your shot.

    If you want to play things safe, you can always just remove the offending script and re-add it (provided you're not currently referencing the object with that particular ID number).  Also, if you want to prefab it and use it in other scenes, check Retain in prefab as well.
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.