The WebPlayer on the Mac (safari, chrome, Firefox) cannot be played in the Unity app you are creating.
However, after reloading, you will be able to play it.
If you look at the Mac log, the following message appears for the first time that you cannot play it:
loader:unity function UnityBundleSetupScreen load failed
loader — unity function UnityBundleLoop load failed
Does anyone have any idea of this symptom?
Windows (IE, chorome, Firefox) will not cause this problem.
Run Environment
Unity: 4.5.5 f1
WebPlayer:4.6.2 f1
MacOSX mavericks 10.9.5
There is no problem with the simple configuration of only the camera and CUBE, so there should be something I shouldn't do with the Mac version...
unity3d macos
Self-resolved.
There was a process to match the camera ratio to the screen for mobile, but Screen.widthScreen.height
was NaN for the first time on the Mac.Windows is fine.
Set the process to Start()
or the process is not necessary for the web version in the first place, so it's a solution.
This post was posted as a community wiki based on @masamune's comments.
© 2024 OneMinuteCode. All rights reserved.