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 khos85 · Jan 28, 2014 at 09:09 PM · editorruntimenot working

scripts not working at runtime?

I have attached mouseorbit, mousezoom and smoothfollow scripts to my camera and when running this via the editor everything works perfectly, I build it to 32bit Windows and it builds without error but those scripts don't work when I run the complied game as they do when I try in the editor? What is going on? I'm version 4.2.2f1

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 frogsbo · Jan 29, 2014 at 04:39 AM 0
Share

update to latest. recheck compile files. send error report to unity. mouseorbit, mousezoom and smoothfollow scripts ALL unresponsive? sounds like simple settings/input config error.

avatar image khos85 · Jan 29, 2014 at 11:18 AM 0
Share

Thanks for your reply..It is a bit weird, I'll try upgrading to 4.3.3 (and make a backup of my project which is at 10GB already so will be sad to see that get corrupted), but why would the settings/input not work at runtime or differ if I did not change these? $$anonymous$$aybe I can try reset to defaults for inputs and see it that helps.. kind of frustrating as my game is nearing completion.

avatar image khos85 · Jan 29, 2014 at 10:46 PM 0
Share

Hmmm, upgrading to 4.3.3 did not help, I rebuilt the game in 4.3.3 and still see the same issue, all the camera control scripts I use work in the Editor nicely but not in the runtime! Any ideas would be appreciated here!

Oh ok wait a $$anonymous$$ute,... when I start my game I get the configuration window with a Input tab, see the screenshot below: alt text Why don't I see the mouse scrollwheel listed in the Input options at runtime on the configuration window/ panel?

capture.png (147.8 kB)

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by khos85 · Jan 30, 2014 at 10:43 AM

Got it working, the mistake/issue was that I previously had slightly modified the smoothfollow script to use a value from mouseorbit by using getcomponent... this all works in the Editor but for some reason not at runtime. Anyway, I modified the smoothfollow script and all is working now.

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

Is it possible to run a script in the editor so it doesnt have to run it again the runtime???? 2 Answers

Is Editor API for making plug-in? 1 Answer

Playing AudioClip in Runtime 0 Answers

Perform action on save/load in editor 2 Answers

Custom Asset Icons? 2 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