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 JadeMerik · Jun 25, 2011 at 10:40 PM · buildwindowsfirst-person-controllerfalling-through-terrain

First Person Controller falls through terrain in Windows build

Hi guys,

I've got a huge problem with the windows standalone build of my game. When I test the game inside Unity by pressing play, everything works well. When I build the game for Mac computers, it also works well. But when I build the game for Windows computers and try to run that build, the first person controller falls right through the terrain. It's absolutely ridiculous. I've played with the colliders on the FPC and terrain but no luck.

Is this a glitch with Unity, or do I need some special colliders that the Mac versions don't need?

I built the game on a Mac desktop and the Windows build does not work on any windows computer.

And yes, the FPC is high in the air. It's not close to the terrain. It drops onto the terrain and collides successfully on Mac builds.

Comment
Add comment · Show 3
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 aldonaletto · Jun 25, 2011 at 11:14 PM 0
Share

Is the machine on which you've tested inside Unity the same PC that failed in the standalone version?

avatar image IrridiumMonkey · Feb 20, 2013 at 07:36 AM 0
Share

Hello Unity community. I'm a newb but already massively loving unity. I have exactly the same problem!

When I enter play mode in Unity, the character doesn't fall through the floor ever, all characters move on the terrain ok, the game is fine, but when I build the game for windoze and double click the .exe to play, then the character immediately falls through the terrain very fast, every time.

$$anonymous$$y terrain collider is on (and not a trigger). $$anonymous$$y character controller has collider in it anyway apparently.

Just to reiterate the game works and acts as expected in the unity play mode, just not when I build the game and run the dozey .exe, then my character just falls right through the terrain, very fast, every time.

Things I've tried:

I've enlarged the collider capsule to much larger than the character, made sure the character is well above the terrain, I'm using the default (gray graphics) for character controller so don't have a mesh collider to set to convex on the character.

I'll keep tweaking in an effort to find the cause and if I do I'll post the solution, in the meantime, if anyone in the community knows more remedies to try, or knows what I'm doing wrong I'd really appreciate a pointer.

avatar image emoney101skeleton · Jun 07, 2020 at 06:43 AM 0
Share

I Need Help Still

4 Replies

· Add your reply
  • Sort: 
avatar image
1

Answer by Follett · Jun 25, 2011 at 10:58 PM

This can happen if your controller isn't above the terrain trying move it up.

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
1

Answer by Scott-WhiteBread · Mar 15, 2015 at 07:15 PM

I found very interesting thing... I had same problem in unity5. When I modifyed my terrain height, i can fall trought the mountains, but stopped at the 0 flatten lefel of the terrain. You just need go to the terrain properties press the flatten button, then test the game, and make sure your character isn't falls througt again, then exit play mode, press ctrl+z and test again. Now hopefully, you won't fall throught your mountaints/terrain.

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 D3Duck · Mar 28, 2015 at 08:33 PM 0
Share

Same problem here, strange, but good workaround. Thanks for that

avatar image
0

Answer by ChrisPie · Mar 29, 2015 at 09:02 AM

Terrain collider gets buggy in Unity 5. Saving scene worked for me (or save it and then load again).

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 Briancvcs · Mar 11, 2019 at 05:31 PM

I have this same problem. All of my builds worked just fine for months, everything works in unity editor. But now any new build the character controller falls through the terrain (sometime right at start, sometime a few seconds into game) I've tried everything thinking maybe the build files or the terrain files were corrupted. I see this is an older question, anyone ever figure something out?

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

9 People are following this question.

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

No Windows Build Support? 1 Answer

dll doesn't work after build 0 Answers

How to fix Unity compiler error when building WP8.1 game? 2 Answers

Application reduced in task bar. force focus on app, always on top 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