cwi-dis / VR2Gather

Unity application framework for immersive social VR
MIT License
4 stars 6 forks source link

Point Cloud is not working when Khora App is integrated into VR2Gather #146

Closed ashutosh3308 closed 7 months ago

ashutosh3308 commented 8 months ago

When the Khora_App is integrated into VR2Gather, we can refer to it as the TransMIXR_MVP app. The point cloud works on Ashu's machine, which runs Windows 11. Ashu installed the TransMIXR_MVP on Karthik's laptop (also Windows 11), and it also works on his laptop. However, this TransMIXR_MVP does not work on VRBig and VRSmall, which have Windows 10 installed. This Khora_App is developed on Windows 10

Ashu tried to run the built version of the app on VRSmall, but the point cloud did not work. It should be noted that the point cloud representation works if only the main branch of VR2Gather is run on the VRSmall or VRBig machines.

ashutosh3308 commented 8 months ago

cwipc: cannot load cwipc_util DLL. UnityEngine.Debug:LogError (object) Cwipc.cwipc:_load_cwipc_util () (at ./Library/PackageCache/nl.cwi.dis.cwipc@ae71fad35f/Runtime/Plugins/cwipc_util_pinvoke.cs:1537) Cwipc.cwipc:capturer (string) (at ./Library/PackageCache/nl.cwi.dis.cwipc@ae71fad35f/Runtime/Plugins/cwipc_util_pinvoke.cs:899) Cwipc.AsyncAutoReader:.ctor (string,single,single,Cwipc.QueueThreadSafe,Cwipc.QueueThreadSafe) (at ./Library/PackageCache/nl.cwi.dis.cwipc@ae71fad35f/Runtime/Scripts/Async/AsyncAutoReader.cs:19) VRT.UserRepresentation.PointCloud.PointCloudCapturerFactory:Create (VRT.Core.VRTConfig/_User/_PCSelfConfig,Cwipc.QueueThreadSafe,Cwipc.QueueThreadSafe) (at Assets/UserRepresentation/PointClouds/Scripts/PointCloudCapturerFactory.cs:41) VRT.UserRepresentation.PointCloud.PointCloudPipelineSelf:_InitForSelfUser (VRT.Core.VRTConfig/_User/_PCSelfConfig,bool) (at Assets/UserRepresentation/PointClouds/Scripts/PointCloudPipelineSelf.cs:124) VRT.UserRepresentation.PointCloud.PointCloudPipelineSelf:Init (bool,object,VRT.Core.VRTConfig/_User,bool) (at Assets/UserRepresentation/PointClouds/Scripts/PointCloudPipelineSelf.cs:76) VRT.Pilots.Common.PlayerControllerBase:SetRepresentation (VRT.Core.UserRepresentationType,bool,bool) (at Assets/Pilots/Common/Players/PlayerControllerBase.cs:170) VRT.Pilots.Common.PlayerControllerBase:_SetupCommon (VRT.Orchestrator.Wrapping.User) (at Assets/Pilots/Common/Players/PlayerControllerBase.cs:97) VRT.Pilots.Common.PlayerControllerSelf:SetUpPlayerController (bool,VRT.Orchestrator.Wrapping.User) (at Assets/Pilots/Common/Players/PlayerControllerSelf.cs:29) VRT.Pilots.LoginManager.SelfRepresentationPreview:UpdateSelfPlayer (VRT.Orchestrator.Wrapping.User) (at Assets/Pilots/LoginManager/Scripts/SelfRepresentationPreview.cs:62) VRT.Pilots.LoginManager.SelfRepresentationPreview:InitializeSelfPlayer () (at Assets/Pilots/LoginManager/Scripts/SelfRepresentationPreview.cs:41) VRT.Pilots.LoginManager.OrchestratorLogin:StartSelfRepresentationPreview () (at Assets/Pilots/LoginManager/Scripts/OrchestratorLogin.cs:259) VRT.Pilots.LoginManager.OrchestratorLogin:UpdateStateOnLoginFullyComplete () (at Assets/Pilots/LoginManager/Scripts/OrchestratorLogin.cs:1328) VRT.Pilots.LoginManager.OrchestratorLogin:UpdateStateOnGetNTPTime (VRT.Orchestrator.Wrapping.NtpClock) (at Assets/Pilots/LoginManager/Scripts/OrchestratorLogin.cs:1369) VRT.Orchestrator.Wrapping.OrchestratorController:OnGetNTPTimeResponse (VRT.Orchestrator.Wrapping.ResponseStatus,VRT.Orchestrator.Wrapping.NtpClock) (at Assets/Orchestrator/API/OrchestratorWrapping/OrchestratorController.cs:377) VRT.Orchestrator.Wrapping.OrchestratorWrapper:OnGetNTPTimeResponse (VRT.Orchestrator.WSManagement.OrchestratorCommand,VRT.Orchestrator.WSManagement.OrchestratorResponse) (at Assets/Orchestrator/API/OrchestratorWrapping/OrchestratorWrapper.cs:275) VRT.Orchestrator.WSManagement.OrchestratorWSManager:OnAckCallback (VRT.Orchestrator.WSManagement.OrchestratorResponse) (at Assets/Orchestrator/API/OrchestratorWSManagement/OrchestratorWSManager.cs:267) Best.SocketIO.EmitBuilder/<>c__DisplayClass5_01:b__0 (object[]) (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.socketio/Runtime/Socket.cs:39) Best.SocketIO.Events.TypedEventTable:Call (string,object[]) (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.socketio/Runtime/Events/TypedEventTable.cs:99) Best.SocketIO.Events.TypedEventTable:Call (Best.SocketIO.IncomingPacket) (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.socketio/Runtime/Events/TypedEventTable.cs:120) Best.SocketIO.Socket:Best.SocketIO.ISocket.OnPacket (Best.SocketIO.IncomingPacket) (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.socketio/Runtime/Socket.cs:452) Best.SocketIO.SocketManager:Best.SocketIO.IManager.OnPacket (Best.SocketIO.IncomingPacket) (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.socketio/Runtime/SocketManager.cs:615) Best.SocketIO.Transports.WebSocketTransport:OnPacket (Best.SocketIO.IncomingPacket) (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.socketio/Runtime/Transports/WebSocketTransport.cs:307) Best.SocketIO.Transports.WebSocketTransport:OnMessage (Best.WebSockets.WebSocket,string) (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.socketio/Runtime/Transports/WebSocketTransport.cs:163) Best.WebSockets.Implementations.OverHTTP1:HandleCompletedFrames () (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.websockets/Runtime/Implementations/OverHTTP1.cs:662) Best.WebSockets.Implementations.OverHTTP1:OnHeartbeatUpdate (System.DateTime,System.TimeSpan) (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.websockets/Runtime/Implementations/OverHTTP1.cs:635) Best.HTTP.Shared.Extensions.HeartbeatManager:Update () (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.http/Runtime/Shared/Extensions/HeartbeatManager.cs:104) Best.HTTP.Shared.HTTPManager:OnUpdate () (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.http/Runtime/Shared/HTTPManager.cs:274) Best.HTTP.Shared.HTTPUpdateDelegator:CallOnUpdate () (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.http/Runtime/Shared/HTTPUpdateDelegator.cs:273) Best.HTTP.Shared.HTTPUpdateDelegator:Update () (at ./Packages/External/VR2G-besthttp/BestHTTP/com.tivadar.best.http/Runtime/Shared/HTTPUpdateDelegator.cs:263)`

ashutosh3308 commented 7 months ago

Yu-Sheng Ma (from Taiwan) installed VR2Gather main branch with CWIPC (v.7.5.1). Point cloud is working on Windows 11 but not Windows 10

ashutosh3308 commented 7 months ago

A tool ([ProcMon](https://learn.microsoft.com/en-us/sysinternals/downloads/procmon)) was used to check where the TransMIXR_MVP unity project is looking for the .dll files. The bin folder of cwipc is copied at one of the searched locations so that the issue should be resolved.

jackjansen commented 7 months ago

@ashutosh3308 what is the status of this issue?

ashutosh3308 commented 7 months ago

It's resolved!!