[iOS] Sound.hx:118: Error: Could not load "assets/music/sound-101.ogg"

Minimo

  • Posts: 201
Hi,

my game is not playing sounds in iOS for some reason now. Build 8825, and I've exported this same game without issues previously...  These just appeared recently.

There are a few errors before the Sound errors showing some missing plugin?: "Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn"


Code: [Select]
2016-01-09 02:10:57,220 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:194: Stage Width: 480
2016-01-09 02:10:57,220 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:195: Stage Height: 320
2016-01-09 02:10:57,220 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:196: Screen Width: 1024
2016-01-09 02:10:57,220 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:197: Screen Height: 768
2016-01-09 02:10:57,220 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:198: Screen DPI: 132
2016-01-09 02:10:57,220 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:365: Theoretical Scale: 2
2016-01-09 02:10:57,243 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:377: Max Scale: 2
2016-01-09 02:10:57,243 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:378: Engine Scale: 2x
2016-01-09 02:10:57,243 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:451: 1024
2016-01-09 02:10:57,243 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:452: 768
2016-01-09 02:10:57,243 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:453: true
2016-01-09 02:10:57,243 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:538: Algorithm: Scale to Fit (Full Screen)
2016-01-09 02:10:57,243 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:732: Scale X: 1.06666666666667
2016-01-09 02:10:57,243 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Universal.hx:733: Scale Y: 1.06666666666667
2016-01-09 02:11:00,565 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: [haxelib] 2016-01-09 02:11:00.564 GAMENAME_424[8552:731733] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib:  dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found.  Did find:
2016-01-09 02:11:00,565 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: [haxelib] /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2016-01-09 02:11:00,565 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: [haxelib] 2016-01-09 02:11:00.564 GAMENAME_424[8552:731733] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7b69fc70 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2016-01-09 02:11:00,566 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: [haxelib] 2016-01-09 02:11:00.565 GAMENAME_424[8552:731733] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib:  dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found.  Did find:
2016-01-09 02:11:00,566 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: [haxelib] /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2016-01-09 02:11:00,566 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: [haxelib] 2016-01-09 02:11:00.565 GAMENAME_424[8552:731733] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7b69fc70 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2016-01-09 02:11:00,567 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: [haxelib] 2016-01-09 02:11:00.566 GAMENAME_424[8552:731733] Error loading /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib:  dlopen(/System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib, 262): no suitable image found.  Did find:
2016-01-09 02:11:00,567 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: [haxelib] /System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin/Contents/MacOS/IOHIDLib: mach-o, but not built for iOS simulator
2016-01-09 02:11:00,567 INFO  [Thread-51] stencyl.sw.util.StreamGobbler: [haxelib] 2016-01-09 02:11:00.567 GAMENAME_424[8552:731733] Cannot find function pointer IOHIDLibFactory for factory 13AA9C44-6F1B-11D4-907C-0005028F18D5 in CFBundle/CFPlugIn 0x7b69fc70 </System/Library/Extensions/IOHIDFamily.kext/Contents/PlugIns/IOHIDLib.plugin> (bundle, not loaded)
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1129.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1130.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1143.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1144.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1146.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1147.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1150.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1151.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1154.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1155.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1156.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1224.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1237.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1246.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1247.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1248.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1249.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1250.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1251.ogg"
2016-01-09 02:11:00,751 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Purchases.hx:103: Purchases: Started
2016-01-09 02:11:00,752 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Data.hx:324: Load Atlas: 0
2016-01-09 02:11:00,752 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Data.hx:324: Load Atlas: 25
2016-01-09 02:11:00,752 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Data.hx:324: Load Atlas: 1
2016-01-09 02:11:00,752 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1228.ogg"
2016-01-09 02:11:00,752 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1229.ogg"
2016-01-09 02:11:00,752 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/sfx/sound-1230.ogg"
2016-01-09 02:11:00,752 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Design_682_682_SceneVolumes.hx:98: 85
2016-01-09 02:11:00,752 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] SceneEvents_76.hx:277: DIFF EASY: true
2016-01-09 02:11:00,752 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Design_755_755_DEBUGGER.hx:130: SCENE NAME: MainMenu
2016-01-09 02:11:03,766 INFO  [pool-1-thread-5] stencyl.sw.app.filewatcher.ExternalAppLauncher: [iOS] Sound.hx:118: Error: Could not load "assets/music/sound-1173.ogg"
2016-01-09 02:11:12,874 DEBUG [pool-1-thread-6] stencyl.sw.util.Util: Process 'haxelib' exited with code: 0
2016-01-09 02:11:12,875 INFO  [pool-1-thread-6] stencyl.sw.io.write.resource.HXWriter: Finished: Running iOS.
2016-01-09 02:14:55,348 DEBUG [AWT-EventQueue-0] stencyl.sw.app.App: Action: Generate Logs
2016-01-09 02:14:55,376 DEBUG [pool-1-thread-7] stencyl.sw.util.FileHelper: Matching (non-hidden) files within /Users/admin/stencylworks/logs: [/Users/admin/stencylworks/logs/2016-01-06_19-23-10.log, /Users/admin/stencylworks/logs/2016-01-07_04-57-26.log, /Users/admin/stencylworks/logs/2016-01-07_05-14-10.log, /Users/admin/stencylworks/logs/2016-01-08_04-25-34.log, /Users/admin/stencylworks/logs/2016-01-09_00-09-07.log, /Users/admin/stencylworks/logs/2016-01-09_01-34-18.log]

Minimo

  • Posts: 201
I found how to fix this:

I was using an external sound card on a Mac.
Switch Sound preference to 'Internal Speakers' and restart the computer.
Went away ... hopefully forever !