Quantcast
Channel: Photon Voice — Photon Engine
Viewing all 671 articles
Browse latest View live

On joining a room, I get an error when I try to set my voice groups.

$
0
0
Hello,

When I join a room, I am added to a 'zone' which has it's own voice group - to ensure each zones chat is private.
To handle this, on moving to the zone this code is called:
if (updatedUser == myUser)
        {
            byte[] groupToRemove = voiceGroup;
            if (zoneLocations.Contains(newLocation))
            {
                byte index = Convert.ToByte(zoneLocations.IndexOf(newLocation) + 1);
                voiceGroup = new byte[] { index };
                PhotonVoiceNetwork.Instance.Client.OpChangeGroups(groupToRemove,  voiceGroup);
            }
            PhotonVoiceNetwork.Instance.PrimaryRecorder.InterestGroup = voiceGroup[0];
        }

However, on entering the room I am getting this error:
"Operation ChangeGroups (248) not allowed on current server (NameServer)"

I am passing in a default value of '7' as a byte (it's what voiceGroup is set to initially).
Every time I change zone after this, the above code works perfectly and I can only hear those in my zone.

I've tried searching for what causes this, especially considering I am definitely in a photon room when the above code is called.

Any ideas?

Photon Voice And OVRLipSync does not work

$
0
0
I'm having trouble making Photon Voice and OVRLipSync work together. I saw a couple of forums and seeing a lot of inquiries about this. It's either photon voice or OVRLipSync is overriding the microphone initialization done by the other plugin. I see that PhotonVoice initializes a microphone then OVRLipSync does the same thing which overrides the first one and causes PhotonVoice to stop working. I tried modifying the class for the OVRLipSync to read the one from PhotonVoice and can't seem to make it work as well. It seems like you can only make one work or the other. Is there something that I need to do to make them both work otherwise, are there any other alternatives?

Photon Voice using counting as a CCU?

$
0
0
Hello,
I've been using PUN 2 for a bit and just recently added photon voice.
When I did however, my CCU numbers doubled. It seems that every voice connection is counting as a CCU.
Is this expected behavior? Or did I do something wrong in the implementation?

Errors with IL2CPP Builds:

$
0
0
[PrimaryVoiceRecorder.Recorder] [PV] WindowsAudioInPusher: System.NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code. The method we're attempting to marshal is: Photon.Voice.Windows.WindowsAudioInPusher::push
at Photon.Voice.Windows.WindowsAudioInPusher..ctor (System.Int32 deviceID, Photon.Voice.ILogger logger) [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.Recorder.CreateLocalVoiceAudioAndSource () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.Recorder.Setup () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.Recorder.StartRecording () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.Recorder.Init (Photon.Voice.Unity.VoiceConnection voiceConnection) [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.VoiceConnection.TryInitializePrimaryRecorder () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.VoiceConnection.Awake () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.PUN.PhotonVoiceNetwork.Awake () [0x00000] in <00000000000000000000000000000000>:0
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, Object, String, Object[])
UnityEngine.Debug:LogErrorFormat(Object, String, Object[])
Photon.Voice.Unity.VoiceLogger:LogError(String, Object[])
Photon.Voice.Windows.WindowsAudioInPusher:.ctor(Int32, ILogger)
Photon.Voice.Unity.Recorder:CreateLocalVoiceAudioAndSource()
Photon.Voice.Unity.Recorder:Setup()
Photon.Voice.Unity.Recorder:StartRecording()
Photon.Voice.Unity.Recorder:Init(VoiceConnection)
Photon.Voice.Unity.VoiceConnection:TryInitializePrimaryRecorder()
Photon.Voice.Unity.VoiceConnection:Awake()
Photon.Voice.PUN.PhotonVoiceNetwork:Awake()

(Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 35)

[PrimaryVoiceRecorder.Recorder] Photon microphone input source creation failure: System.NotSupportedException: IL2CPP does not support marshaling delegates that point to instance methods to native code. The method we're attempting to marshal is: Photon.Voice.Windows.WindowsAudioInPusher::push
at Photon.Voice.Windows.WindowsAudioInPusher..ctor (System.Int32 deviceID, Photon.Voice.ILogger logger) [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.Recorder.CreateLocalVoiceAudioAndSource () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.Recorder.Setup () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.Recorder.StartRecording () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.Recorder.Init (Photon.Voice.Unity.VoiceConnection voiceConnection) [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.VoiceConnection.TryInitializePrimaryRecorder () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.Unity.VoiceConnection.Awake () [0x00000] in <00000000000000000000000000000000>:0
at Photon.Voice.PUN.PhotonVoiceNetwork.Awake () [0x00000] in <00000000000000000000000000000000>:0 . Falling back to Unity microphone
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:LogFormat(LogType, Object, String, Object[])
UnityEngine.Debug:LogErrorFormat(Object, String, Object[])
Photon.Voice.Unity.VoiceLogger:LogError(String, Object[])
Photon.Voice.Unity.Recorder:CreateLocalVoiceAudioAndSource()
Photon.Voice.Unity.Recorder:Setup()
Photon.Voice.Unity.Recorder:StartRecording()
Photon.Voice.Unity.Recorder:Init(VoiceConnection)
Photon.Voice.Unity.VoiceConnection:TryInitializePrimaryRecorder()
Photon.Voice.Unity.VoiceConnection:Awake()
Photon.Voice.PUN.PhotonVoiceNetwork:Awake()

ios build error duplicate symbol _main

$
0
0
Hello. Im having trouble making an ios build with pun2 and photon voice 2.
the problem is that when i build it, xcode throws an error "duplicate symbol _main"

well it turns out that the webrtc-audio.a library is having a class named "click_annotate.cc" that contains the method (int main()" and is conflicting with ios's main method.
https://wing1.cs.ucla.edu/gitlab/tan/webrtc/blob/3d7a5007a72134ca8c066d9a3be52ef052e75b85/webrtc/modules/audio_processing/transient/click_annotate.cc


here are 2 screenshots from my xcode project
https://drive.google.com/file/d/1GpDCREOlg2zXb3MCJT1868JldT-E6lki/view?usp=sharing
https://drive.google.com/file/d/18j184aEy2FJM0YNhpj39oREOk1unuTZZ/view?usp=sharing

what i tried is to make an empty unity project and import photon voice plugin and build for ios. It seemlesly runs on ios....i was confused that why its working here? :| so then i copied the complete "Photon" folder from my new project and then replaced it in my working project. but the xcode error still persists even if i export a fresh xcode project
can somebody help me out in this issue?

Do I need to build my app all in one project and scene??

$
0
0
I'm using Pun Voice, I'm having an issue with trying to create three different apps that can talk to each other, I'm finding that in order t make it work I have to make each app all from the same scene in one project?? This could prove difficult when it comes time to merge the separate test projects into the two or three different builds needed for the end project.
Is this normal?

I have checked my project settings for what it was saying in project set up using the pun wizard and in each project my app ID appears to be the same??
I'm using version 1 of pun Voice, I'm also using Unity version 5.6.3f1

Microphone not working after user re-enter a room

$
0
0
Stack:
Unity 2019.2.19f1
MacOS
PUN2 v2.16
Photon Voice v2.12


In our VR multiplayer game there are two rooms:
Lobby (scene 0) - single player
Forum (scene 1) - multiplayer

This is the flow:
  • Player 1 enter the Forum (starting from Lobby)
  • Player 2 enter the Forum (starting from Lobby)
  • Player 1 and Player 2 can hear each other well
  • Player 1 leaves the room
  • Player 1 back to the Lobby
  • Player 1 re-enter the Forum
  • Player 1 can hear Player 2, but Player 2 cannot hear Player 1

Analysing the logs for Player 1 I noticed that when everything is working well:
photonVoiceView.IsSetup: true
hotonVoiceView.IsRecorder: true
recorder.IsInitialized: true
recorder.IsRecording: true
recorder.TransmitEnabled: true
recorder.IsCurrentlyTransmitting: true

but after Player 1 comes back to the forum:
photonVoiceView.IsSetup: true
hotonVoiceView.IsRecorder: true
recorder.IsInitialized: true
recorder.IsRecording: true
recorder.TransmitEnabled: true
recorder.IsCurrentlyTransmitting: false

IsCurrentlyTransmitting now it's false and cannot change.

I have tried with both Unity Microphone type and Photon microphone type, and the result is always the same.

Photon Voice For ARM64?

$
0
0
Hello,
I hope this is the proper place to query on this matter.

I'm using Photon Voice with HoloLens 2 and it is working great.
Currently, though, I cant build for ARM64 since the opus binaries are only compiled for ARM.

Any chance to get binaries for ARM64?
Thanks in advance.

MicrophoneType: Photon not working on ANDROID

$
0
0
The issue now is that in Android with Unity 2019.2.9f1 the Photon Microphonetype does not work. My original post had an issue about rejoining rooms that has been solved (see below).

ORIGINAL POST:


Same issue that has been found before but different error?. Microphone works well on first join but after exiting and rejoining room it has a lot of issues connecting and working. When looking from the editor project I can see that the client state (in PhotonVoiceNetwork) changes from "Joining" to "ConnectingToMasterserver" and the current server address keeps changing:

gwei4PT.png

Salsa and the PUN Voice Demo

$
0
0
I got salsa lip sync working with Photon partially. The lip sync works with remote clients, but not the local machine. This makes sense because the local client does not get its own audio - I am thinking to avoid delay echo effects.

On the remote clients, the Audio Source has as the audio clip "AudioStreamPlayer" - but locally it has "None (Audio Clip)"

My thinking was to add a microphone component to the local client (salsa provides one), to drive lip sync. This works, however not with the PhotonVoiceSpeaker script together.

I thought if I could deactivate the PhontVoiceSpeaker script on the local client, everything would be good. Locally the lip sync would be driven by the SALSA mic input, and on remote clients, it would be driven by the AudioStreamPlayer in the AudioSource.

My idea was to add "if(!IsPlaying)" code to the PhontVoiceSpeaker script :
if(!IsPlaying)
        this.player = new AudioStreamPlayer(GetComponent<AudioSource>(), "PUNVoice: PhotonVoiceSpeaker:", 

It seemed to work in the editor, but when I published the game to test multiplayer, no go.

Any insight is much appreciated.

TCP Photon Voice Connection

$
0
0
Hello,

I need some information about photon voice. It does not work in network while the same scene works in 2 connections in 4g and also at me in wired connection. I need it in TCP with the network of my company which I think will be difficult to configure in terms of port...

Knowing that a Realtime session in TCP works correctly regardless of its location.

The error message:
SocketUdp.Disconnect()
UnityEngine.Debug:Log(Object)
Photon.Realtime.LoadBalancingClient:DebugReturn(DebugLevel, String) (at Assets/Photon/PhotonRealtime/Code/LoadBalancingClient.cs:2130)
ExitGames.Client.Photon.<>c__DisplayClass104_0:<EnqueueDebugReturn>b__0() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PeerBase.cs:923)
ExitGames.Client.Photon.EnetPeer:DispatchIncomingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/EnetPeer.cs:431)
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands() (at C:/Dev/photon-sdk-dotnet/PhotonDotnet/PhotonPeer.cs:1598)
Photon.Voice.Unity.VoiceConnection:Dispatch() (at Assets/Photon/PhotonVoice/Code/VoiceConnection.cs:428)
Photon.Voice.Unity.VoiceConnection:FixedUpdate() (at Assets/Photon/PhotonVoice/Code/VoiceConnection.cs:411)

Unity iOs xCode Crash on Photon OnJointRoom call

$
0
0
Hi,
I am developing the multiplayer cross platform application with photon SDK and Oculus SDK. It is working well in other platforms like android and windows. but when trying in iPhone, photon crashes the application after few seconds of launch with the below exception(uncaught exception: PhotonAudioException: Unknown session category 48528156) log in xCode.
2020-02-20 14:03:13.670927+0530 StopDropToolingVRTest[668:166281] [DYMTLInitPlatform] platform initialization successful
CrashReporter: initialized
2020-02-20 14:03:13.700457+0530 StopDropToolingVRTest[668:166232] Built from '2018.2/staging' branch, Version '2018.2.16f1 (39a4ac3d51f6)', Build type 'Release', Scripting Backend 'il2cpp'
2020-02-20 14:03:13.702602+0530 StopDropToolingVRTest[668:166232] -> registered mono modules 0x104a70cc0
-> applicationDidFinishLaunching()
2020-02-20 14:03:13.771196+0530 StopDropToolingVRTest[668:166232] Metal GPU Frame Capture Enabled
2020-02-20 14:03:13.771658+0530 StopDropToolingVRTest[668:166232] Metal API Validation Disabled
2020-02-20 14:03:13.868752+0530 StopDropToolingVRTest[668:166232] [Warning] Trying to set delaysTouchesBegan to NO on a system gate gesture recognizer - this is unsupported and will have undesired side effects
-> applicationDidBecomeActive()
GfxDevice: creating device client; threaded=1
Initializing Metal device caps: Apple A10 GPU
Initialize engine version: 2018.2.16f1 (39a4ac3d51f6)
2020-02-20 14:03:13.984121+0530 StopDropToolingVRTest[668:166313] [avas] AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
2020-02-20 14:03:13.985008+0530 StopDropToolingVRTest[668:166313] [avas] AVAudioSessionPortImpl.mm:56:ValidateRequiredFields: Unknown selected data source for Port Speaker (type: Speaker)
UnloadTime: 0.624875 ms
Particle System is trying to spawn on a mesh with zero surface area
 
(Filename:  Line: 1527)

Particle System is trying to spawn on a mesh with zero surface area
 
(Filename:  Line: 1527)

Particle System is trying to spawn on a mesh with zero surface area
 
(Filename:  Line: 1527)

Particle System is trying to spawn on a mesh with zero surface area
 
(Filename:  Line: 1527)

WARNING: Shader Unsupported: 'OvrAvatar/AvatarSurfaceShaderPBS' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'OvrAvatar/AvatarSurfaceShaderSelfOccluding' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'OvrAvatar/AvatarSurfaceShader' - Pass 'FORWARD' has no vertex shader
WARNING: Shader Unsupported: 'OvrAvatar/AvatarSurfaceShader' - All passes removed
Unloading 5 Unused Serialized files (Serialized files now loaded: 0)
UnloadTime: 3.085833 ms
Particle System is trying to spawn on a mesh with zero surface area
 
(Filename:  Line: 1527)

Particle System is trying to spawn on a mesh with zero surface area
 
(Filename:  Line: 1527)

Tiled-based Multi-resolution feature is not supported
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:LogWarning(Object)
OVRManager:set_tiledMultiResLevel(TiledMultiResLevel)
DropsController:Awake()
 
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43)

NotImplementedException: Oculus platform is not implemented on this platform yet.
  at Oculus.Platform.Core.Initialize (System.String appId) [0x00000] in <filename unknown>:0 
  at OculusUserIDGenerator.Awake () [0x00000] in <filename unknown>:0 
 
(Filename: currently not available on il2cpp Line: -1)

Particle System is trying to spawn on a mesh with zero surface area
 
(Filename:  Line: 1527)

Particle System is trying to spawn on a mesh with zero surface area
 
(Filename:  Line: 1527)


Unloading 10 unused Assets to reduce memory usage. Loaded Objects now: 7075.
Total: 6.185958 ms (FindLiveObjects: 1.367916 ms CreateObjectMapping: 0.162208 ms MarkObjects: 4.425666 ms  DeleteObjects: 0.229500 ms)

ConnectAndJoinRandom.ConnectNow() will now call: PhotonNetwork.ConnectUsingSettings().
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
ConnectPhotonNetwork:ConnectNow()
<ConnectPhoton>c__Iterator1:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
 
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43)

Received your UserID from server. Updating local value to: 7be40d31-7fa9-4273-9391-9397f6802535
UnityEngine.DebugLogHandler:Internal_Log(LogType, String, Object)
UnityEngine.DebugLogHandler:LogFormat(LogType, Object, String, Object[])
UnityEngine.Logger:Log(LogType, Object)
UnityEngine.Debug:Log(Object)
Photon.Realtime.LoadBalancingClient:DebugReturn(DebugLevel, String)
Photon.Realtime.LoadBalancingClient:OnOperationResponse(OperationResponse)
ExitGames.Client.Photon.PeerBase:DeserializeMessageAndCallback(StreamBuffer)
ExitGames.Client.Photon.TPeer:DispatchIncomingCommands()
ExitGames.Client.Photon.PhotonPeer:DispatchIncomingCommands()
Photon.Pun.PhotonHandler:FixedUpdate()
 
(Filename: /Users/builduser/buildslave/unity/build/Runtime/Export/Debug.bindings.h Line: 43)

2020-02-20 14:03:25.305294+0530 StopDropToolingVRTest[668:166232] Uncaught exception: PhotonAudioException: Unknown session category 48528156
(
	0   CoreFoundation                      0x00000001d77eff10 <redacted> + 252
	1   libobjc.A.dylib                     0x00000001d69bda40 objc_exception_throw + 56
	2   StopDropToolingVRTest               0x0000000103014600 -[Photon_Audio_In setCategory:mode:options:] + 572
	3   StopDropToolingVRTest               0x000000010301424c Photon_Audio_In_CreatePusher + 96
	4   StopDropToolingVRTest               0x000000010458b864 AppleAudioInPusher_Photon_Audio_In_CreatePusher_m3533824088 + 72
	5   StopDropToolingVRTest               0x000000010458b528 AppleAudioInPusher__ctor_m1641507628 + 996
	6   StopDropToolingVRTest               0x00000001045c1338 Recorder_CreateLocalVoiceAudioAndSource_m4227198471 + 704
	7   StopDropToolingVRTest               0x00000001045c0c58 Recorder_Setup_m2979736205 + 96
	8   StopDropToolingVRTest               0x00000001045bd5a8 Recorder_Init_m1039045471 + 692
	9   StopDropToolingVRTest               0x00000001045bb20c PhotonVoiceView_SetupRecorder_m1617332548 + 1444
	10  StopDropToolingVRTest               0x00000001045bc56c PhotonVoiceView_SetupRecorder_m745576119 + 1144
	11  StopDropToolingVRTest               0x00000001045bc018 PhotonVoiceView_Setup_m319458870 + 128
	12  StopDropToolingVRTest               0x00000001045bbf8c PhotonVoiceView_OnEnable_m1362120164 + 104
	13  StopDropToolingVRTest               0x0000000102fa32cc _Z31RuntimeInvoker_Void_t1185182177PFvvEPK10MethodInfoPvPS4_ + 60
	14  StopDropToolingVRTest               0x0000000103ae2d50 _ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException + 108
	15  StopDropToolingVRTest               0x000000010341f9f8 _Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb + 100
	16  StopDropToolingVRTest               0x0000000103427cdc _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb + 60
	17  StopDropToolingVRTest               0x000000010342ec7c _ZN13MonoBehaviour12AddToManagerEv + 312
	18  StopDropToolingVRTest               0x000000010342e804 _ZN13MonoBehaviour13AwakeFromLoadE17AwakeFromLoadMode + 636
	19  StopDropToolingVRTest               0x00000001034541ec _ZN18AwakeFromLoadQueue19InvokeAwakeFromLoadEPNS_4ItemEj17AwakeFromLoadMode + 96
	20  StopDropToolingVRTest               0x00000001034540f0 _ZN18AwakeFromLoadQueue13AwakeFromLoadE17AwakeFromLoadModeb + 108
	21  StopDropToolingVRTest               0x00000001032088e8 _ZN10GameObject24ActivateAwakeRecursivelyE19DeactivateOperation + 84
	22  StopDropToolingVRTest               0x00000001046e2b74 GameObject_SetActive_m796801857 + 92
	23  StopDropToolingVRTest               0x0000000104560900 PhotonNetwork_NetworkInstantiate_m351743105 + 3860
	24  StopDropToolingVRTest               0x000000010455f9d4 PhotonNetwork_Instantiate_m4150460228 + 612
	25  StopDropToolingVRTest               0x0000000103bc05d0 CharacterInstantiation_OnJoinedRoom_m3935868544 + 5172
	26  StopDropToolingVRTest               0x0000000102c83938 _ZN23InterfaceActionInvoker06InvokeEjP11Il2CppClassP12Il2CppObject + 664
	27  StopDropToolingVRTest               0x000000010450dcd4 MatchMakingCallbacksContainer_OnJoinedRoom_m3072188767 + 308
	28  StopDropToolingVRTest               0x000000010450cee4 LoadBalancingClient_OnEvent_m4287737176 + 2432
	29  StopDropToolingVRTest               0x0000000102e2fa64 _ZN23InterfaceActionInvoker1IP21EventData_t3728223374E6InvokeEjP11Il2CppClassP12Il2CppObjectS1_ + 672
	30  StopDropToolingVRTest               0x000000010449d7e8 PeerBase_DeserializeMessageAndCallback_m435737712 + 4636
	31  StopDropToolingVRTest               0x0000000102e2d1cc _ZN16VirtFuncInvoker1IbP24StreamBuffer_t3827669789E6InvokeEjP12Il2CppObjectS1_ + 208
	32  StopDropToolingVRTest               0x00000001044da580 TPeer_DispatchIncomingCommands_m1581931628 + 2032
	33  StopDropToolingVRTest               0x0000000102c7bed4 _ZN16VirtFuncInvoker0IbE6InvokeEjP12Il2CppObject + 200
	34  StopDropToolingVRTest               0x00000001044a3870 PhotonPeer_DispatchIncomingCommands_m2193869886 + 356
	35  StopDropToolingVRTest               0x0000000102c7bed4 _ZN16VirtFuncInvoker0IbE6InvokeEjP12Il2CppObject + 200
	36  StopDropToolingVRTest               0x000000010454b964 PhotonHandler_FixedUpdate_m889526629 + 488
	37  StopDropToolingVRTest               0x0000000102fa32cc _Z31RuntimeInvoker_Void_t1185182177PFvvEPK10MethodInfoPvPS4_ + 60
	38  StopDropToolingVRTest               0x0000000103ae2d50 _ZN6il2cpp2vm7Runtime6InvokeEPK10MethodInfoPvPS5_PP15Il2CppException + 108
	39  StopDropToolingVRTest               0x000000010341f9f8 _Z23scripting_method_invoke18ScriptingMethodPtr18ScriptingObjectPtrR18ScriptingArgumentsP21ScriptingExceptionPtrb + 100
	40  StopDropToolingVRTest               0x0000000103427cdc _ZN19ScriptingInvocation6InvokeEP21ScriptingExceptionPtrb + 60
	41  StopDropToolingVRTest               0x000000010342d090 _ZN13MonoBehaviour16CallUpdateMethodEi + 280
	42  StopDropToolingVRTest               0x000000010329d830 _ZN20BaseBehaviourManager12CommonUpdateI21FixedBehaviourManagerEEvv + 80
	43  StopDropToolingVRTest               0x000000010336bfd0 _Z17ExecutePlayerLoopP22NativePlayerLoopSystem + 88
	44  StopDropToolingVRTest               0x000000010336bff8 _Z17ExecutePlayerLoopP22NativePlayerLoopSystem + 128
	45  StopDropToolingVRTest               0x000000010336c154 _Z10PlayerLoopv + 220
	46  StopDropToolingVRTest               0x0000000103165604 _ZL19UnityPlayerLoopImplb + 272
	47  StopDropToolingVRTest               0x0000000102c5618c UnityRepaint + 64
	48  StopDropToolingVRTest               0x0000000102c56140 -[UnityAppController(Rendering) repaint] + 96
	49  StopDropToolingVRTest               0x0000000102c56088 -[UnityAppController(Rendering) repaintDisplayLink] + 112
	50  GPUToolsCore                        0x0000000107b3166c -[DYDisplayLinkInterposer forwardDisplayLinkCallback:] + 176
	51  QuartzCore                          0x00000001dbca5574 <redacted> + 828
	52  IOKit                               0x00000001d7a4f58c IODispatchCalloutFromCFMessage + 488
	53  CoreFoundation                      0x00000001d77573e4 <redacted> + 188
	54  CoreFoundation                      0x00000001d777ec30 <redacted> + 56
	55  CoreFoundation                      0x00000001d777e37c <redacted> + 440
	56  CoreFoundation                      0x00000001d7779134 <redacted> + 2140
	57  CoreFoundation                      0x00000001d77785b8 CFRunLoopRunSpecific + 436
	58  GraphicsServices                    0x00000001d99ec584 GSEventRunModal + 100
	59  UIKitCore                           0x000000020473cbc8 UIApplicationMain + 212
	60  StopDropToolingVRTest               0x0000000102c48c84 main + 212
	61  libdyld.dylib                       0x00000001d7238b94 <redacted> + 4
)

Please Guide me to solve this error.

Thanks in advance.

MicAmplifier documentation

Couldn't get audio device name.

$
0
0
AudioIn.dll couldn't get some audio device name when Microphone Type is "Photon"

//RecorderEditor.cs: 518
photonDeviceIDs[i] = Recorder.PhotonMicrophoneEnumerator.IDAtIndex(i);
string micName = Recorder.PhotonMicrophoneEnumerator.NameAtIndex(i); //return null
int count = 0;
for (int j = 0; j < tempNames.Count; j++)
{
      if (tempNames[j].StartsWith(micName)) // Null Error
      {
          count++;
      }
}

I think AudioIn.dll (Photon_Audio_In_MicEnumerator_NameAtIndex()) can't get utf-8 audio device name.

My Env:
OSX Catalina 10.15.3
System Language: Japanese
Unity2018.4.16f1
PUN 2.16
Photon Voice 2.13

Please check it.

Self Hosted server

$
0
0
Hi,

I want to integrate Photon voice with self hosted server. I am trying to make a multiplayer game using photon self hosted server and wants to implement realtime photon voice but i am not able to do it .
Please suggest the way to do it.

Just a simple favor to Create a voice chat function in Unity

$
0
0
Hi2,

Could anyone be so kind to help me to create some basic communication using PhotonVoice in Unity?
The idea is, when a player is pressing "R" button, they will be allowed to talk and the other can hear their voices.

I have been looking at the "Demo VoicePun-scene" from the PhotonVoice chat asset.
I know that it is recording (from the audio level), But i cannot hear myself talking in another instance.

I have as well follow this https://doc.photonengine.com/en-us/voice/current/getting-started/voice-for-pun
but still no luck.

Can anyone please point me on how to do it.?

Thank you very much for your time.

Photon voice and salsa

$
0
0
Hello,
I am currently setting a scene where players can here each other combined with a lipsync of their avatar. In my first settings, I correctly use photon voice so that I can hear anotherplayer and see his lips moving nicely. My problem occurs when I would like to see myself and thus see my lips moving too. Indeed, in order to do that I need to add an AUdioSource in the component of my prefab with this simple code :
if (myPV.IsMine)
{
if(GetComponent<AudioSource>() == null)
{
gameObject.AddComponent<AudioSource>();
}
}

This works in the way that the lips of my own avatar start moving BUT from there the Recorder of photon Voice acts like it can't reach the microphone anymore. (I guess because it is using the same mic as the audio source of Salsa)

Would anyone have any idea of how I could fix this issue ?

Thanks anyway for reading this,

Florian

Extreme lag spikes on Mac + Photon microphone + React on system changes enabled

$
0
0
As per the title, when running on a Mac using the Photon microphone type and "React on system changes" enabled, the program halts to 1 FPS.
This doesn't happen with Unity microphone type, or on Windows, or with "React on system changes" disabled. I could only recreate it with all 3 of these conditions simultaneously.

The offender seems to be AudioSettings.InvokeOnAudioConfigurationChange which is called very frequently (even with no device change) and takes up 90% of frame time.

iOS crashes after updating from Photon Voice 2.12 to Photon Voice 2.13

$
0
0
Hi all,

After updating the Photon Voice version in my Unity project my iOS apps consistently crash on this line;
// Initialize the AURemoteIO instance
XThrowIfError(AudioUnitInitialize(cd.rioUnit), "couldn't initialize AURemoteIO instance");

in AudioIn.mm

Screenshot%202020-03-18%20at%2011.07.48.png

Any ideas?

DemoVoicePun-Scene very silent

$
0
0
Hi
I am searching for the possibility to level up the audio in DemoVoicePun-Scene much louder.
Since I can hear something the setup must be ready.
But the volume is bad. How to fix it?

Thanks,
Greetings LittleMatjes
Viewing all 671 articles
Browse latest View live