"Failed to init OpenALSoundController" Monogame - monogame

how to fix Microsoft.Xna.Framework.Audio.NoAudioHardwareException: "Failed to init OpenALSoundController" and Microsoft.Xna.Framework.Audio.NoAudioHardwareException: "Failed to init OpenALSoundController", TypeInitializationException: The type initializer for 'MonoGame.OpenAL.AL' threw an exception? I try reinstall OpenAL, but nothing has changed.
Monogame version 3.8.0
Xna version 4.0
OpenAL version 3.05

I recently had this problem on Android. I updated to the latest developer build of MonoGame and that sorted out the issue. Also, to prevent the initial crash I used try{} catch{} on each of my sound file imports to prevent the game from crashing.

Related

Can't run flutter project due to error VERBOSE.dart error, isolate error

When I try to run my flutter-project code on the iOS simulator in VS code, I get the following error on the console:
Launching lib/main.dart on iPhone 11 Pro in debug mode...
lib/main.dart:1
Xcode build done. 24.4s
[VERBOSE-2:shell.cc(103)] Dart Error: Can't load Kernel binary: Invalid SDK hash.
[VERBOSE-2:dart_isolate.cc(171)] Could not prepare isolate.
[VERBOSE-2:runtime_controller.cc(415)] Could not create root isolate.
[VERBOSE-2:shell.cc(588)] Could not launch engine with configuration.
Thanks in advance.
Hi!
In my case, the error was caused by the forced shutdown of the IDE.
After manually selecting the libraries, I identified the one that was causing the problem, updated the project without it, and updated the project again with it.
With that the problem was solved.
Hope I have helped, if yes, please flag.
Could you delete the bin/cache folder, then run app
Open terminal and run: $ flutter channel beta
"it will install beta version, once installation is done, try it!"
"In case you willing to change the beta version to stable version you can use the following:"
$ flutter channel stable

Unity 2020.1.0f1 (IL2CPP error for method 'System.Void) error

Just formatted my Mac and put a clean install of Catalina on and, then updated Unity to 2020.1.0f1 loaded my project that's been working fine on Catalina before reinstalling and updating Unity, but now when I try and build I get this error.
IL2CPP error for method 'System.Void Unity.GeneratedNetworkCode::_WriteArrayVector3_None(UnityEngine.Networking.NetworkWriter,UnityEngine.Vector3[])' in assembly '/Users/kevin/Desktop/AR_Army_New/Temp/StagingArea/Data/Managed/Assembly-CSharp.dll' Additional information: Hash code collision on value 09716D6B6B7159FFA4DDC4AAF2722973A3FF4FC8
Anyone know what's gong on please ?

Apple Swift-Format tool for Xcode 11.4

Uses https://github.com/apple/swift-format after update Xcode to version 11.4 start getting error:
"Unable to lint xxxx.swift: SwiftSyntax parser library isn't compatible."
How do we solve that issue? Changing SwiftSyntax version does not help.
Finally, swift-5.2-branch was created https://github.com/apple/swift-format/tree/swift-5.2-branch. The issue was solved by moving the new version of SwiftSyntax parser library.

Facebook Unity SDK and Unity 4.3 have a conflicting instance method 'openURL' on iOS

I had Facebook Unity SDK working in my game prototype until I updated to Unity 4.3. After the update build fails on dSYM generation in xCode. Error message:
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/dsymutil failed with exit code 11
Most notably before the final error message above I get this warning:
ld: warning: instance method 'application:openURL:sourceApplication:annotation:' in category from /Users//Library/Developer/Xcode/DerivedData/Unity-iPhone-duxgtdhujpdgtjbanfxzqinkvybw/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/FbUnityInterface.o overrides method from class in /Users//Library/Developer/Xcode/DerivedData/Unity-iPhone-duxgtdhujpdgtjbanfxzqinkvybw/Build/Intermediates/Unity-iPhone.build/Debug-iphoneos/Unity-iPhone.build/Objects-normal/armv7/UnityAppController.o
I investigated this a bit and yes, it seems that both UnityAppController.mm and FbUnityInterface.mm define "openURL" method and that's what xCode doesn't like. I also checked the iOS build that I had worked with on earlier (4.2.x) Unity version and in that build Unity did not define openURL-method in any of its .mm files.
Version Info:
Facebook Unity SDK Version 4.3.4
Unity Editor Version 4.3 (Pro)
Xcode 5.0.2
Changes vs Unity xCode project default configuration:
Added the frameworks that AdMob requires
Added linker flag "-ObjC" that AdMob requires (Build Settings -> Other Linker Flags)
I tested linking without the "-ObjC" flag also. Result is the same. Any ideas on how to fix this?
-tomi
I ran into the same problem but only building with debugging enabled in Build Options. Turn off debugging and you get past it. Or, BuildOptions.None in your build pipeline.
Of course, no debugging ...
We just released version 4.3.6 of the sdk that fixes login with unity version 4.3. It's available at https://developers.facebook.com/

error in compiling .xcdatamodel

i have xcode 4.3 with ios 5.1 and trying to compile and run the project, but it gives error:
Command /Applications/Xcode.app/Contents/Developer/usr/bin/momc failed with exit code 6
i found something in "Data Model Version Compile".. error after upgrading to Lion (Xcode4.1) but it doesn't provide me any suitable solution. It say's to delete unnecessary .xcdatamodel-directories and i did, but i still stuck up there with same issue. Other thing i found that the extension is changed in new xcode its '.xcdatamodeld' instead of '.xcdatamodel'. I copied content content of '.xcdatamodel' file and put in to '.xcdatamodeld' and added to xcode but it gave error at some where else that persistence store might exist. what should i do to run this project..
thanks in advance!!!