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
1
Question by UdevMike · Aug 09, 2011 at 10:54 AM · physicscollidercharactercontrollerfalling-through-floor

Player falls through floor after 10-20 seconds and above certain resolution consistantly(Bug?)

Hey guys, working on a doom-esque style first person shooter. I have a character controller set up and attached to the main camera.

Everything was working well, I could walk around and fire a weapon and interact with the level. Recently the character controller started falling through the floor at random points in the map, seemingly after I had fired my weapon(Rigidbody spawns and is catapulted forward) at my test enemy(Has a collider with trigger ticked to detect collision). The curious thing is that all of this worked really well, and it seems like it just screwed itself up heh.

Any ideas and insight would be greatly appreciated!

Additional info:

-The floor and walls are mesh colliders(Tested, those are A-okay).

-Creating a new camera and attaching a character controller seems to eliminate the issue. But oddly enough the settings are the as with my old controller.

-Project settings are default.

Comment
Add comment · Show 4
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 Sir Keyzinburga · Aug 09, 2011 at 11:47 AM 0
Share

Do your bullet - rigidbodies have collision with your character controller? A$$anonymous$$A, slowly pushing you through the ground?

I recommend some value printing for debugging. Try to keep track of the collision with the floor and what happens when it disappears.

avatar image UdevMike · Aug 27, 2011 at 09:22 AM 0
Share

UPDATE

After much troubleshooting I have discovered that the player falls through the floor after a certain and fixed amount of time.

I have checked and I dont see any scripts that I have which could cause this, I even disabled all of my player scripts. $$anonymous$$oreover, it happens even when the player doesnt move from the starting point, in that area there are no triggers or sequences and as such no scripts should be at fault.

Can anyone help? This is really puzzling heh

Thanks guys!

P.S. - Console throws no exception.

UPDATE

avatar image UdevMike · Aug 27, 2011 at 10:51 AM 0
Share

Now this is getting so bizarre that I think it might be a bug in Unity. It appears that the character only falls through the floor when I am playing above a certain resolution(above 720p), and it always falls after 10 - 20 seconds of game start.........

I have tried creating a new character controller, new colliders, removing all scripts. Nothing helps, should I file a bug or does anyone have an idea?

avatar image Sir Keyzinburga · Aug 27, 2011 at 11:26 AM 0
Share

Is there some downward force that is unaffected by collision? that pulls the character down through the platform slowly? A$$anonymous$$A is the Y position of the character changing over the 10-20 seconds? Personally I haven't tested anything yet on HD-resolutions, but I doubt that is the problem. Does it occur without use of the character controller, ins$$anonymous$$d using a rigidbody?

To me this seems hardly a bug in Unity. If that would be the case the forums would be crowded with issues like this.

5 Replies

· Add your reply
  • Sort: 
avatar image
-2

Answer by cvgwegwegwe · Aug 27, 2011 at 12:34 PM

Removed for spamming.

Comment
Add comment · Share
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
-2

Answer by cvgwegwegwe · Aug 27, 2011 at 12:36 PM

Removed for spamming.

Comment
Add comment · Share
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
-2

Answer by cvgwegwegwe · Aug 27, 2011 at 12:37 PM

Removed for spamming.

Comment
Add comment · Share
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
0

Answer by jimmyismike · Aug 27, 2011 at 10:55 AM

Is there a collider on the character?

Comment
Add comment · Show 1 · Share
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 UdevMike · Aug 27, 2011 at 11:01 AM 0
Share

Yup, a capsule collider, which the character controller creates.

avatar image
0

Answer by Driskard · Aug 07, 2012 at 05:15 PM

I have a similar problem. The collision detection on Character Controller seems to deactivate itself after some time. But this only happends when I use a LootAt function of me own wich does several RotateAround on various bones. If the RotateAround calls are commentented the problem does not appear. I dont see how the collision detection problem can be linked to te RotateAround. Any help to solve this mystery would be greatly appreciated.

Comment
Add comment · Share
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

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

6 People are following this question.

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

Related Questions

Character Controller can pass through character controller after upgrade to 4.0 0 Answers

How to detect angles of walls? 1 Answer

CharacterController Physics 1 Answer

How to use character controller to push down hinge joint properly 1 Answer

Can a character collider be affected by a rigidbody collider? 0 Answers


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