- Home /
Error Building Web Player
I get these two errors every time I attempt to build a web player of my unity project. It builds just fine when I do a standalone.
"Error building Player: IOException: Win32 IO returned 1224. Path: C:\Users\aernst\Documents\Dead Ringer\Temp\BuildingWebplayerTemplate\WebPlayer.html UnityEditor.HostView:OnGUI()"
"Exception: Error building Player: IOException: Win32 IO returned 1224. Path: C:\Users\aernst\Documents\Dead Ringer\Temp\BuildingWebplayerTemplate\WebPlayer.html UnityEditor.BuildPlayerWindow.BuildPlayerWithDefaultSettings (Boolean askForBuildLocation, BuildOptions forceOptions) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:367) UnityEditor.BuildPlayerWindow.GUIBuildButtons (Boolean enableBuildButton, Boolean enableBuildAndRunButton, Boolean canInstallInBuildFolder) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:972) UnityEditor.BuildPlayerWindow.ShowBuildTargetSettings () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:953) UnityEditor.BuildPlayerWindow.OnGUI () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/BuildPlayerWindow.cs:726) System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Rethrow as TargetInvocationException: Exception has been thrown by the target of an invocation. System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) UnityEditor.HostView.Invoke (System.String methodName, System.Object obj) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/GUI/DockArea.cs:225) UnityEditor.HostView.Invoke (System.String methodName) (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/GUI/DockArea.cs:218) UnityEditor.HostView.OnGUI () (at C:/BuildAgent/work/842f9557127e852/Editor/Mono/GUI/DockArea.cs:119)"
I have the same problem from time to time.
When building standalones it seems to help if i enter and exit playmode before building but when building webplayer it seems to happen more often and it makes no difference to enter and exit playmode first.
:(
So annoying to have gone through the entire build process and then getting nothing.
Answer by KvanteTore · Oct 06, 2011 at 11:43 AM
see this forum post. Error 1224 is ERROR_USER_MAPPED_FILE, i.e. some process has that file open already. Probably anti virus or game is running.
It appears there is no direct answer for this problem. From the link you posted and from other info I researched, there is "something" running in the background of my computer that is causing conflicts with Unity's Web Player builder, which causes this error. So it is a matter of tracking down the specific program or computer process that would be causing it. I was hoping it would be simpler than that, but alas technology never is.
Answer by greeneggsnoham · May 26, 2012 at 10:42 PM
I had the same issue.
I temporarily disabled AVG, my anti-virus, and then it worked. Might be a coincidence, but it's worth a try.
Answer by greeneggsnoham · May 26, 2012 at 10:32 PM
I had the same problem. After reading this I disabled AVG, my antivirus, and it worked.
It may be a coincidence, but it's worth a try.
Answer by Martian-Games · Sep 29, 2012 at 12:05 PM
I found that using just 'Build' .. (and NOT 'Build and Run'), as well as making sure i have no browser open during compile, this seems to do the trick for me ;)
Your answer
Follow this Question
Related Questions
Unity Player has crashed 1 Answer
Getting a black screen within Build completed with 'Succeeded' 0 Answers
Failed to update Unity Web Player 0 Answers
LOTS of build errros 0 Answers
Unity can't load level 1 Answer