Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

OnTriggerEnter bug on standalone

Discussion in 'Scripting' started by SirHawkington, Oct 2, 2014.

  1. SirHawkington

    SirHawkington

    Joined:
    Apr 11, 2013
    Posts:
    13
    In my game I have a powerup system which when the player enters the trigger box they gain a powerup. Everything works perfectly in the editor but when I make a build the powerups trigger fine but the character that it detects as colliding with the powerup is different from the one that was meant to be collecting the powerup. Any help would be great.