• 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 spriggsy · Jan 09, 2013 at 09:59 PM · buildcompilercompilingcompile-error

Unity project wont build

Hi all, i have a very basic project that ive put together, just to see how it all works. unfortunately it will not build for mac or windows. the game loads but then errors out with this message.

Scene::raycastClosestShape: the maximum distance must be greater that zero!

but im not using rays? on windows it frame rate must be about 00.1 fps, on the mac its fine, the sound plays and my rev counter moves as it should but my cars are sat on the body colliders with no movement

heres the error i get from the editor when building.

conversionMap[platform].find ( inType ) != conversionMap[platform].end() UnityEditor.HostView:OnGUI()

it plays fine in the editor with no warnings

has any one come across this before?

Comment
Add comment · Show 1
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 C.Malcolm · Jan 11, 2013 at 05:09 PM 0
Share

This error comes from the Audio Log, try to find which file might be causing an error (binary search). Another thing you could try is switching platforms, see if the error is consistent and if not then you may need to file a bug report.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



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

enable multidex for android build 2 Answers

Distribute terrain in zones 3 Answers

Error building Player because scripts had compiler errors 3 Answers

Build from script 3 Answers

Compilor Error - Adding a new ParticleEmitter to the object 0 Answers

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges