|
Post by huran438 on Jan 31, 2016 15:18:30 GMT
Hi. I have this runtime error when running on iOS - The script behaviour 'DarkTonic.MasterAudio.EventSounds' could not be instantiated! Log:
2016-01-31 20:22:51.454 oceanmotion[1295:462178] [#303] +[Everyplay initWithDelegate:] initializing
2016-01-31 20:22:51.577 oceanmotion[1295:462178] Everyplay SDK build: 2110
CrashReporter: initialized
2016-01-31 20:22:51.983 oceanmotion[1295:462178] -> registered mono modules 0x1017324c0
2016-01-31 20:22:52.273 oceanmotion[1295:462178] You've implemented -[<UIApplicationDelegate> application:didReceiveRemoteNotification:fetchCompletionHandler:], but you still need to add "remote-notification" to the list of your supported UIBackgroundModes in your Info.plist.
-> applicationDidFinishLaunching()
-> applicationDidBecomeActive()
Init: screen size 1080x1920
Initializing Metal device caps
Initialize engine version: 5.3.2p1 (82077c0be25b)
The script behaviour 'DarkTonic.MasterAudio.EventSounds' could not be instantiated!
(Filename: Line: 1522)
Unity3d 5.3.2p1, Xcode 7.2
|
|
|
Post by DarkTonic Dev on Jan 31, 2016 20:04:28 GMT
Sorry but I have no idea how to fix that. I can tell you that EventSounds works fine on our iOS game that was published a couple months ago.
But we're not on the newest Unity version actually. Or XCode could be a problem. Lots of variables but not sure how to troubleshoot since it's on a target platform...
let me know if you have any ideas.
|
|
|
Post by huran438 on Jan 31, 2016 20:06:07 GMT
Okay, thnaks. Trying to solve it)
|
|
|
Post by DarkTonic Dev on Jan 31, 2016 20:13:46 GMT
Yeah iOS is a problem for debugging remotely because of how they lock things down with XCode and bundle ID's. Unfortunately I've seen many bugs there that are simple a bug in the Unity exporter.
|
|
|
Post by huran438 on Jan 31, 2016 22:59:44 GMT
This bug causes only on IL2CC x64 & Universal (((( I don't know how to fix it(
|
|
|
Post by DarkTonic Dev on Jan 31, 2016 23:02:55 GMT
I do not either. There's no platform-specific code in there.
Maybe you need to post on the Unity iOS forum. It's not specific to our plugin, it should be stated as "The script behaviour 'X' could not be instantiated!" and how to fix? Do share a link so I can subscribe to the thread as well if you post.
|
|
|
Post by huran438 on Jan 31, 2016 23:17:15 GMT
|
|
|
Post by huran438 on Jan 31, 2016 23:57:46 GMT
Works on Unity 5.3.1p4))) Thanks.
|
|
|
Post by DarkTonic Dev on Feb 1, 2016 17:10:47 GMT
Ok cool. Glad you are fixed.
|
|