Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 unitedpanda · Aug 16, 2013 at 03:40 AM · unity 4.2

Game crashes after Splash Screen

I made a simple game as a test using just meshes and collider with First Person Controller camera. In the beginning of the test I was able to build and run and play the game without any issue. But since yesterday my game would not play, it crashes right after the splash screen. I checked the console screen it keeps telling me there is problem with 2 things: 1) Assets/Locomotion System/Editor/LocomotionEditorClass.cs(64,68)(the numbers change everytime): warning CS0618: 'UnityEditor.EditorGUILayout.ObjectField....blah blah and so on. 2) !IsNormalized (normal, 0.001f) I don't know what all these mean. The only thing I can remember I did differently yesterday was I installed Android SDK on my PC.

Specs: Unity 4.2 free version Windows 7 output to PC.

Has anyone encountered this problem. Your help is greatly appreciated. Thank you!

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 RomanorumLegio · Aug 16, 2013 at 03:54 AM 0
Share

Would you $$anonymous$$d giving us the full error and a copy of the scripts that the errors are pointing to?

avatar image Jamora · Aug 16, 2013 at 08:16 AM 0
Share

The error CS0618 means a member is marked obsolete. It means you are using the obsolete version of ObjectField.

avatar image unitedpanda · Aug 16, 2013 at 09:10 AM 0
Share

Hi Jamora, can you elaborate more on "obsolete version of ObjectField" what does it mean? I am completely new to this and completely clueless about it. Thank you.

avatar image Jamora · Aug 16, 2013 at 02:28 PM 0
Share

There should be an error.log in the folder (or in a subfolder) where you build the game. The second line gives the reason why the game crashes, it starts "(game name) caused an (Error here)". You can edit your post to include that info and maybe someone can tell you how to fix your crash.

An obsolete method is one that has been in use at one point, but should not be used anymore, because a better implementation is available.

The obsolete method can not be removed because it would break backwards compatibility. That basically means that old versions of Unity can not be used anymore, because they don't have a corresponding method to the new and improved one.

You need to use the version of ObjectField which takes in three parameters + the optional ones: the object, its type and a bool if scene objects are allowed. The obsolete version doesn't take the bool.

However, I can't imagine this would be the reason your game crashes...

It seems the !IsNormalized is an already submitted bug, as shown in this Answer, and that shouldn't cause crashes either...

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Graham-Dunnett · Aug 16, 2013 at 02:52 PM

Assets/Locomotion System/Editor/LocomotionEditorClass.cs

This is an editor script and is meant to live in a folder called Editor.

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

18 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

Related Questions

Importing Huge Videos into Unity 1 Answer

Android app size after installation, 4.3 is 2 times larger than 4.2 0 Answers

camera movments fixed.. character controller without using character controller -.-' 2 Answers

works well On computer but not on phone,reads well on computer but not on phone 0 Answers

User updated her Unity and now UI is flickering on move 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