Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by NewbieJD · Nov 16, 2017 at 02:21 PM · rigidbodybuildbugrendererexport

Enemy renderer detaching

Hi all, I've just 'finished' development on my game, an expanded version of the survival shooter tutorial. All seems to be working perfectly besides one strange bug. When playing the exported version of the game on either Windows or Mac an enemy seems to occasionally 'detach' from itself and just follow the player around without being able to damage them. The player can't damage the enemy unless the find a spot on the map where the enemy's light can be seem. If the player shoots at this spot then the enemy will take damage as normal and when damaged enough it will die and jump back to the spot where the light was. I've attached a screenshot demonstrating this but the easiest way for me to show you is in a video. Unsure what the rules are with posting links to external videos but I'll provide one just in case as it'll show what is happening much more clearly than I can describe. So far I haven't been able to replicate this issue in the unity editor, is it possible for bugs to only appear in the built version of a game. I've got no idea how to investigate this as it only seems to be happening in standalone builds. I've also had an issue in the exported builds of the line renderer that forms the player's bullets stopping showing up, the bullets still work as normal but can't be seen. Perhaps the two are linked?

Can anyone recommend how to go about debugging or have any idea why this might be happening? I'm happy to answer any questions or provide any of my code that might help. Thanks!

Link to video: https://www.dropbox.com/s/l77emjzr1liinjm/BugDemo.mp4?dl=0 alt text

screen-shot-2017-11-16-at-140555-min.png (493.7 kB)
Comment
Add comment · Show 2
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Blue-Cut · Nov 16, 2017 at 03:55 PM 1
Share

Hi,

I have never done this tutorial and I just quickly read your post without really investigate on it, but I am just going to answer one of the questions you wrote.


Yes, it's possible that a bug appears only on standalone builds. From my experience, the only issues of this type I met were issues around execution order : https://docs.unity3d.com/$$anonymous$$anual/ExecutionOrder.html

I mean that if the execution order is not perfectly under control, some instance of your game sometimes need another instance that is actually not created or ready to work yet.


Did you try to build a "develpment build" for Windows and activate the error logs ? You can do this in the build settings. It could help you to figure out what is happening.

avatar image NewbieJD Blue-Cut · Nov 16, 2017 at 10:14 PM 0
Share

Thanks for the response, I'll look into execution order now. I hadn't come across development builds but will certainly investigate to see if this is of any help. Cheers!

0 Replies

· Add your reply
  • Sort: 

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

104 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Distribute terrain in zones 3 Answers

Exported mesh not rendering when Animation Controller is Attached?? 0 Answers

Pink screen when exporting to build. 2 Answers

How come the camera's functions doesn't work in the iOS build? 0 Answers

How do you add a fixed joint to a first person controller 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges