Photon Voice does not work after Fallback handler could not load library Mono/AudioIn

I can't post the log file here because it says its too long. But i get this on start.

Mono path[0] = 'D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Managed'
Mono config path = 'D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/MonoBleedingEdge/etc'
PlayerConnection initialized from D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data (debug = 0)
PlayerConnection initialized network socket : 0.0.0.0 55256
Multi-casting "[IP] 192.168.0.101 [Port] 55256 [Flags] 3 [Guid] 1597778250 [EditorId] 3447433525 [Version] 1048832 [Id] WindowsPlayer(YASHPC) [Debug] 1 [PackageName] WindowsPlayer" to [225.0.0.222:54997]...
Waiting for connection from host on [0.0.0.0:55256]...
PlayerConnection accepted from [192.168.0.101] handle:0x408
Started listening to [0.0.0.0:55256]
Using monoOptions --debugger-agent=transport=dt_socket,embedding=1,server=y,suspend=n,address=0.0.0.0:56250
PlayerConnection already initialized - listening to [0.0.0.0:55256]
Initialize engine version: 2018.3.14f1 (d0e9f15437b1)
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce RTX 2080 (ID=0x1e87)
Vendor:
VRAM: 8010 MB
Driver: 26.21.14.4274
Begin MonoManager ReloadAssembly
- Completed reload, in 0.836 seconds
<RI> Initializing input.

<RI> Input initialized.

<RI> Initialized touch support.

UnloadTime: 0.545100 ms
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/AudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/AudioIn.dll
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/AudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libAudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libAudioIn.dll
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libAudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/AudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/AudioIn.dll
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/AudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libAudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libAudioIn.dll
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libAudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/AudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/AudioIn.dll
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/AudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libAudioIn
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libAudioIn.dll
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libAudioIn
DllNotFoundException: AudioIn
at (wrapper managed-to-native) ExitGames.Client.Photon.Voice.AudioInEnumerator.Photon_Audio_In_CreateMicEnumerator()
at ExitGames.Client.Photon.Voice.AudioInEnumerator.Refresh () [0x00008] in D:\Unity Projects\Multiplayer\Source\v17\Assets\Plugins\PhotonVoiceApi\Platforms\Unity\AudioInEnumerator.cs:43
at ExitGames.Client.Photon.Voice.AudioInEnumerator..ctor () [0x0000f] in D:\Unity Projects\Multiplayer\Source\v17\Assets\Plugins\PhotonVoiceApi\Platforms\Unity\AudioInEnumerator.cs:35
at PhotonVoiceNetwork..ctor () [0x0000e] in D:\Unity Projects\Multiplayer\Source\v17\Assets\PUNVoice\Scripts\PhotonVoiceNetwork.cs:191
UnityEngine.GameObject:Internal_AddComponentWithType(Type)
UnityEngine.GameObject:AddComponent(Type)
UnityEngine.GameObject:AddComponent()
PhotonVoiceNetwork:get_instance() (at D:\Unity Projects\Multiplayer\Source\v17\Assets\PUNVoice\Scripts\PhotonVoiceNetwork.cs:45)
PhotonVoiceHandler:Awake() (at D:\Unity Projects\Multiplayer\Source\v17\Assets\PUNVoice\Scripts\PhotonVoiceHandler.cs:113)
UnityEngine.GameObject:Internal_AddComponentWithType(Type)
UnityEngine.GameObject:AddComponent(Type)
UnityEngine.GameObject:AddComponent()
PhotonVoiceHandler:RuntimeInitializeOnLoad() (at D:\Unity Projects\Multiplayer\Source\v17\Assets\PUNVoice\Scripts\PhotonVoiceHandler.cs:104)

(Filename: D:/Unity Projects/Multiplayer/Source/v17/Assets/Plugins/PhotonVoiceApi/Platforms/Unity/AudioInEnumerator.cs Line: 43)

Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libc
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libc.dll
Fallback handler could not load library D:/Unity Projects/Multiplayer/Builds/My Experience Centre v9/My Experience Centre_Data/Mono/libc
eyJ0eXAiOiJKV1QiLCJhbGciOiJSUzI1NiIsIng1dCI6Imh1Tjk1SXZQZmVocTM0R3pCRFoxR1hHaXJuTSIsImtpZCI6Imh1Tjk1SXZQZmVocTM0R3pCRFoxR1hHaXJuTSJ9.eyJhdWQiOiJiYzZmNjQ2Zi03NmVmLTQyZDgt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andler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
UnityEngine.MonoBehaviour:print(Object)


I keep getting this error every frame then

NullReferenceException: Object reference not set to an instance of an object
at PhotonVoiceNetwork.Update () [0x00013] in D:\Unity Projects\Multiplayer\Source\v17\Assets\PUNVoice\Scripts\PhotonVoiceNetwork.cs:292

(Filename: D:/Unity Projects/Multiplayer/Source/v17/Assets/PUNVoice/Scripts/PhotonVoiceNetwork.cs Line: 292)

NullReferenceException: Object reference not set to an instance of an object
at PhotonVoiceHandler.Update () [0x00001] in D:\Unity Projects\Multiplayer\Source\v17\Assets\PUNVoice\Scripts\PhotonVoiceHandler.cs:125

(Filename: D:/Unity Projects/Multiplayer/Source/v17/Assets/PUNVoice/Scripts/PhotonVoiceHandler.cs Line: 125)

Comments

  • Which version of PhotonVoice to you use?
  • Hi @YogenRai,

    What Unity version is this?
    You are using Photon Voice Classic (1).
    Could you migrate to Photon Voice 2?
Sign In or Register to comment.