LoadConfig and WebPlayer
Posted: 16 Jun 2011, 13:26
I'm running SFS2X RC2 with a Unity 3.3 project.
If I run my project in the editor or build as a standalone app everything works as expected.
If I build and run as a Web Player project, it fails to to load the sfs-config.
This is what I see in the Player Log.
The .html, .unity3d and sfs-config.xml files are all in the same directory.
Any ideas?
If I run my project in the editor or build as a standalone app everything works as expected.
If I build and run as a Web Player project, it fails to to load the sfs-config.
This is what I see in the Player Log.
Code: Select all
[SFS DEBUG] Failed to load config: Error loading config file: Attempt to access a private/protected method failed.
UnityEngine.Debug:Internal_Log(Int32, String, Object)
UnityEngine.Debug:Log(Object)
gui_Login:OnDebugMessage(BaseEvent)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.Logging.Logger:DispatchEvent(LoggerEvent)
Sfs2X.Logging.Logger:Log(LogLevel, String)
Sfs2X.Logging.Logger:Error(String[])
Sfs2X.SmartFox:OnConfigLoadFailure(BaseEvent)
Sfs2X.Core.EventDispatcher:DispatchEvent(BaseEvent)
Sfs2X.Util.ConfigLoader:OnConfigLoadFailure(String)
Sfs2X.Util.ConfigLoader:LoadConfig(String)
Sfs2X.SmartFox:LoadConfig(String, Boolean)
Sfs2X.SmartFox:LoadConfig()Any ideas?