|
I'm not sure what's going on here. I have a simple method finding objects by tag which works fine in the editor, but as soon as I get into a built game, I get 0 objects found. The objects themselves are always present. It's a very simple game with only 2 objects with the same tag name. Any ideas of what I may have flipped by mistake? I just upgraded to version 3.5.2 PRO. Any input would be welcomed. Thanks!
(comments are locked)
|
|
This would be a great "DOH!" moment. This is a drawback from working multiple people using the asset server. The build originally included the objects described, in the main scene. As it turns out, instead of using this scene, a co-worker built a brand new scene with similar objects and did not adjust the build settings. In short, the built game was running a non functional scene, which looked exactly the same... Big doh!
(comments are locked)
|

Please provide more details and source code.
More info: The game is simple, 2 objects from primitives; a cube and a cylinder. Both objects have the tag "Shape".
A method being called has the following:
While in the editor I get "2 objects found!", with the build I get "0 objects found!".
Any ideas?
Also, Please note that I have built a plain game only containing this, and this works as it should. Which is why I am wondering what I could have done to cause the issue mentioned.
Debug's show in published builds?? I haven't tried that, that I can remember, but I wouldn't think debug would print on screen or something in the built game...
The debugs are logged in "output_log.txt" inside the project_Data folder.