• 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
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 him like playing LOL, Starcraft 2, and some other game simultaneously

now we decided to play my game on his laptop thinking his laptop would kick its ass

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

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

meanwhile the mac version worked every time

is there like something 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
FLASHDENMARK

People who like this

1 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

There has never been a 14-inch MacBook Pro!

avatar image lil_billy · May 16, 2011 at 05:01 AM 0
Share

wow.... like thats the only detail you wanted to focus in on ...brilliant help there mate

3 Replies

· Add your reply
  • Sort: 
avatar image
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 this one still gets views so I will answer it

Back when i posted this 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. This 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 while it would work on one it would break horribly in the other.

This is why they have since added PRAGMA STRICT as a default for any new script. This disables that guessing system and forces the programmer to write code correctly. Since this 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

People who like this

0 Show 0 · 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

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. This eliminated the processor spikes in my Windowsbuilds.

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

Comment
Jean-Fabre

People who like this

1 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

ty ill try that any reason why mac is superior to windows in this regard cause i get nothing but being laughed at by my programming bros for having a mac

avatar image GameGuy · May 16, 2011 at 02:33 PM 0
Share

No reason I dont know your Project, but I would start with adding this tiny script somewere in my Scenes.

avatar image lil_billy · May 16, 2011 at 06:18 PM 0
Share

so no it didnt work turned it down to 40 and still was crap on windows

avatar image GameGuy · May 16, 2011 at 07:39 PM 0
Share

As I said your info is very limited, I even dont know what version of Windows your friends have! e.g Win7 has no longer support for OpenGL but you developed it in OpenGL under MacOS_Whatever, try to play it under WinXP and force the render to OpenGL. Take a look at your shaders(if you use some) are they optimized for OpenGL or for DirectX. Try to test it on diffrent GPU`s ,or maybe You used undocumented Code and thats the problem....

avatar image

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 this site . https://www.pcsupportnumber.co.uk/lenovo-support-uk/

Comment

People who like this

0 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

Hello, Mac and Windows have been a rivalry dating back decades, most famously encapsulated by Apple's somewhat amusing Mac versus PC commercials. It was always said that Windows PCs are built for spreadsheets, can break easily, aren't supported well enough by manufacturers and do not offer a consistent experience. if you facing any problem regarding dell support, you can visit this site.
https://dellsupportnumber.co.uk/

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

Json.NET Serialization - Platform Not Supported Error 0 Answers

Can I create a game in Windows, then copy it to a mac to compile in xcode? 1 Answer

Application.CaptureScreenshot() Fails on PC/Mac 2 Answers

Mac standalone build Dock question 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