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 RussOnPC · May 02, 2012 at 02:12 AM · fpsaicrashtutorialrobot

Robot AI Target Causes Game to Crash

Hi everyone I've got a problem with the FPS tutorial, whenever I assign a Target to the AI script the game crashes. I've tried build and run and just through unity they both crash. I'm using a good machine with an i5, 8GB 1600Mhz RAM and a HD 6670 mobility GPU so I'm 100% sure it's not my machine. I've also tried using different computers with AMD HD 7970 3GB and i7's but they still crash. I've tried using different targets and various things but the game still crashes.

If anyone has any ideas please let me know. I will provide the code for the AI if you would like also.

I just found about it was because I was increasing the scale of the robot. Is it possible to increase the scale of the robot without causing the game to crash? Thanks for any help :)

Comment
Add comment · Show 8
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 syclamoth · May 02, 2012 at 02:18 AM 0
Share

I'd have to know more about the internal workings of the script to answer that one. I've never done that particular tutorial.

Also, having a high-end machine won't stop things crashing- all it'll do is improve the framerate when it's not crashing.

avatar image RussOnPC · May 02, 2012 at 02:33 AM 0
Share

The problem I have is that the first person controller and teraain is really large but the robot is tiny and increasing his scale cases the game to crash.

avatar image syclamoth · May 02, 2012 at 02:34 AM 0
Share

$$anonymous$$ake the terrain and dude smaller, then.

avatar image RussOnPC · May 02, 2012 at 02:38 AM 0
Share

The scale of my first person controller is already at one. Why is it that the first person controller which has a scale of one is so much bigger than the robot which also has a scale of one?

avatar image syclamoth · May 02, 2012 at 02:45 AM 0
Share

Transform scale doesn't really mean much. Have a look at the import scale on the mesh importer- that gets multiplied by the transform scale. Think of it this way- a 'size 1' elephant is still bigger than a 'size 1' mouse.

Show more comments

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Complete AI Tutorial? 1 Answer

Al Robot Animation Problem 0 Answers

What is AutoWayPoint 1 Answer

How to create AI using RAIN indie 1 Answer

how to make a robot prefab for a fps game (ai) 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