• 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
1
Question by lil_billy · May 15, 2011 at 06:40 AM · windowsmacstandalone

Mac VS Windows Builds

so i built my game off of an old 14 inch mac book pro i play tested it and tested the built version on mac

it all worked great no lag

then i had it built for windows now my friend has like a $3000 dollar hardcore gaming laptop with like 4 processors and that top of the line radeon grapics card i see $$anonymous$$m like playing LOL, Starcraft 2, and some other game simultaneously

now we decided to play my game on $$anonymous$$s laptop t$$anonymous$$nking $$anonymous$$s laptop would kick its ass

only when we did play it, it peaked all of $$anonymous$$s processors and had like gridlock lag -it still worked technically though

then we played it on other windows and it had the same problem

meanw$$anonymous$$le the mac version worked every time

is there like somet$$anonymous$$ng im missing in the build process because i thought it would have made the games efficiency, better, not worse than when playing it in editor view

Comment
Add comment · Show 2
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 Jessy · May 15, 2011 at 04:42 PM 0
Share
avatar image lil_billy · May 16, 2011 at 05:01 AM 0
Share

3 Replies

· Add your reply
  • Sort: 
avatar image
0
Best Answer

Answer by lil_billy · Dec 10, 2012 at 04:13 PM

So im finally going back over a lot of my old questions, seems t$$anonymous$$s one still gets views so I will answer it

Back when i posted t$$anonymous$$s I was unaware of the significance of dynamic typing vs static typing as well as the other corrections unity's 'interpreter' does when compiling code.

They originally made unity to handle 'noob' code by basically guessing what the 'noob' programmer really wanted to say in code. T$$anonymous$$s guessing mechanic in the engine is what led to the instability between Operating systems. The guesses in the code would be different in different OS's so w$$anonymous$$le it would work on one it would break horribly in the other.

T$$anonymous$$s is why they have since added PRAGMA STRICT as a default for any new script. T$$anonymous$$s disables that guessing system and forces the programmer to write code correctly. Since t$$anonymous$$s change there is no longer any difference between OS's in terms of stability. That is so long as you leave PARAGMA STRICK ALONE.

On a personal note i recommend development on Windows for a few reasons, Mac OS is more efficient (i know that will piss some people off to say) so you want to build in windows where your framerate results will be in terms of the lower end (though that is still more to do with the actual hardware of the computer then just the OS). The other reason to do it in windows is because, when it comes to accessibility of other development programs, Mac sucks. More Autodesk applications work exclusively on windows and not Mac for example.

but I can now say there really is no stability difference anymore, I keep my projects on an Ex harddrive and frequently float between mac and windows computers.

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 GameGuy · May 15, 2011 at 01:46 PM

Maybe putting a script like

function Awake () 
{
 //120 Frames per second
 Application.targetFrameRate = 120;
}

in your Scenes will help. T$$anonymous$$s eliminated the processor spikes in my Windowsbuilds.

http://unity3d.com/support/documentation/ScriptReference/Application-targetFrameRate.html

Comment
Add comment · Show 4 · 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 lil_billy · May 16, 2011 at 05:03 AM 0
Share
avatar image GameGuy · May 16, 2011 at 02:33 PM 0
Share
avatar image lil_billy · May 16, 2011 at 06:18 PM 0
Share
avatar image GameGuy · May 16, 2011 at 07:39 PM 0
Share
avatar image
0

Answer by nancygen · Oct 17, 2018 at 04:35 AM

Hello, Apple has gained ground on Microsoft, Mac users are still living in relative bliss with the lack of viruses, spyware and malware. We’re not saying they can’t get them, but it’s just far less of a problem for Mac users than it is for Windows users. if you facing any problem regarding lenovo support uk you can visit t$$anonymous$$s site . https://www.pcsupportnumber.co.uk/lenovo-support-uk/

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 nancygen · Oct 18, 2018 at 04:21 AM 0
Share

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

If you’re new to Unity Answers, please check our User Guide to help you navigate through our website and refer to our FAQ for more information.

Before posting, make sure to check out our Knowledge Base for commonly asked Unity questions.

Check our Moderator Guidelines if you’re a new moderator and want to work together in an effort to improve Unity Answers and support our users.

Follow this Question

Answers Answers and Comments

2 People are following this question.

avatar image avatar image

Related Questions

"Out of Memory" on Windows Build, Runs perfectly on Mac Build 1 Answer

Force aspect ratio of window (standalone Windows) 1 Answer

How to load Windows licence into Mac? 1 Answer

Producing Windows notifications in Unity 1 Answer

VCRuntime errors with Universal Windows Platform, but it runs within Unity 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