oculus-samples / Unreal-SharedSpaces

Oculus multiplayer showcase demonstrating basic multiplayer functionality in Unreal, including Oculus Platform Social APIs, Photon as the transport layer and UE replication. The Oculus SDK and other supporting material is subject to the Oculus proprietary license.
Other
135 stars 65 forks source link

App Is crashing when opening #82

Closed Jdongre closed 1 month ago

Jdongre commented 2 months ago

I did all the steps created photon app id and uploaded the app in dashboard but the issue i am facing is when i open the app in quest its crashing any help would be appreciated

alefriant commented 2 months ago

Hey @Jdongre I may could help you, in first place, which version of UE are you using? Epic or Oculus? I recommend you to try this one (none of the others SDK and Unreal versions worked for me): UnrealEngine-oculus-5.3.2-release-1.97.0-v65.0

Careful about the Antivirus, you'll need to add these exceptions, I did it in Avast, Defender from Windows could delete everything even if you add the exeptions:

Did you created destinations and configured all the DUC requirements listed here in the SharedSpaces readme?

Do you have all the mentioned in this list? (I have my own recipe, but this list could be useful, seems functional)

Good luck!

image

image

jasonmeisel commented 2 months ago

Could you provide the following information:

  1. Which Quest device is it crashing on?
  2. Which version of Unreal Engine are you using?
  3. Is there any output from this command when it crashes? adb logcat -s "*:F"
Jdongre commented 2 months ago

Hi Jason,       Thanks for reaching out! I was able to solve the crashing issue, but now I'm facing a problem where my lobby isn't loading—I'm getting stuck in the Teleportation map. I've created destinations, configured all the DUC requirements listed in the Shared Spaces readme, and added the necessary elements in data checkup, including the app ID and Photon ID in their respective places. Your help would be much appreciated!

Regards , Jayesh


From: Jason Meisel @.> Sent: Wednesday, July 31, 2024 8:31 AM To: oculus-samples/Unreal-SharedSpaces @.> Cc: Jayesh Dongre @.>; Mention @.> Subject: Re: [oculus-samples/Unreal-SharedSpaces] App Is crashing when opening (Issue #82)

Could you provide the following information:

  1. Which Quest device is it crashing on?
  2. Which version of Unreal Engine are you using?
  3. Is there any output from this command when it crashes? adb logcat -s "*:F"

— Reply to this email directly, view it on GitHubhttps://github.com/oculus-samples/Unreal-SharedSpaces/issues/82#issuecomment-2259545631, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJUC6V6K4QQJYDSUR6LXXR3ZPBHPLAVCNFSM6AAAAABK74LXWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGU2DKNRTGE. You are receiving this because you were mentioned.Message ID: @.***>

This email may contain confidential information and is intended only for the person(s) to whom it is addressed. If you have received it in error, please notify the sender and delete the email from your system.

alefriant commented 2 months ago

@Jdongre

Did you submitted all your maps? Did you submitted the .obb files if any? (I've been stuck in the loading scene because this several times because I press continue in the Meta Developers hub and the obbs are hidden in the second screen, XD) If yes -> I suggest you to check the destination names to match correctly your map names, check if these are enabled, etc. Attached an example of the Lobby, the new destinations portal is a bit different than the readme pictures from SharedSpaces, today has more slots to fill, this could help.

image

image

Jdongre commented 2 months ago

Hii Alejandro Is it necessary to store all maps in one folder ?


From: Alejandro Friant @.> Sent: Wednesday, July 31, 2024 10:51 AM To: oculus-samples/Unreal-SharedSpaces @.> Cc: Jayesh Dongre @.>; Mention @.> Subject: Re: [oculus-samples/Unreal-SharedSpaces] App Is crashing when opening (Issue #82)

@Jdongrehttps://github.com/Jdongre

Did you submitted all your maps? Did you submitted the .obb files if any? (I've been stuck in the loading scene because this several times because I press continue in the Meta Developers hub and the obbs are hidden in the second screen, XD) If yes -> I suggest you to check the destination names to match correctly your map names, check if these are enabled, etc. Attached an example of the Lobby, the new destinations portal is a bit different than the readme pictures from SharedSpaces, today has more slots to fill, this could help.

image.png (view on web)https://github.com/user-attachments/assets/c724d3bb-ea3d-4aa0-bac4-cb66156f508b

image.png (view on web)https://github.com/user-attachments/assets/dd337ae9-e55e-4035-ba44-7d34dd203a32

— Reply to this email directly, view it on GitHubhttps://github.com/oculus-samples/Unreal-SharedSpaces/issues/82#issuecomment-2259692555, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJUC6VZO2OHT7VLAWUISF73ZPBX4DAVCNFSM6AAAAABK74LXWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGY4TENJVGU. You are receiving this because you were mentioned.Message ID: @.***>

This email may contain confidential information and is intended only for the person(s) to whom it is addressed. If you have received it in error, please notify the sender and delete the email from your system.

alefriant commented 2 months ago

Hey @Jdongre , is not necessary at all. I have the things organized like that. Just be aware of redirecting all the maps properly.

Example: Game/Folder1/Map1 Game/Folder1/Map2 Game/Map3 Game/Folder2/Map4 Game/OtherFolder/Folder3/Map5 etc...

Where Game is the root folder of Unreal. Good luck!

Jdongre commented 2 months ago

I feel the connection is not establishing between photon or oculus i dont know i tried putting lobby as my startup map instead of transition map it opened but the invite panel roster panel room travelling any of these feature are not available i checked my Data use checkup all of the things required are active


From: Alejandro Friant @.> Sent: Wednesday, July 31, 2024 1:13 PM To: oculus-samples/Unreal-SharedSpaces @.> Cc: Jayesh Dongre @.>; Mention @.> Subject: Re: [oculus-samples/Unreal-SharedSpaces] App Is crashing when opening (Issue #82)

Hey @Jdongrehttps://github.com/Jdongre , is not necessary at all. I have the things organized like that. Just be aware of redirecting all the maps properly.

Example: Game/Folder1/Map1 Game/Folder1/Map2 Game/Map3 Game/Folder2/Map4 etc...

Where Game is the root folder of Unreal. Good luck!

— Reply to this email directly, view it on GitHubhttps://github.com/oculus-samples/Unreal-SharedSpaces/issues/82#issuecomment-2259878334, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJUC6V6NOIALFG4MGZ5R6W3ZPCITRAVCNFSM6AAAAABK74LXWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZHA3TQMZTGQ. You are receiving this because you were mentioned.Message ID: @.***>

This email may contain confidential information and is intended only for the person(s) to whom it is addressed. If you have received it in error, please notify the sender and delete the email from your system.

Jdongre commented 2 months ago

Also i am using EPIC's Unreal Engine


From: Alejandro Friant @.> Sent: Wednesday, July 31, 2024 3:11 AM To: oculus-samples/Unreal-SharedSpaces @.> Cc: Jayesh Dongre @.>; Mention @.> Subject: Re: [oculus-samples/Unreal-SharedSpaces] App Is crashing when opening (Issue #82)

Hey @Jdongrehttps://github.com/Jdongre I may could help you, in first place, which version of UE are you using? Epic or Oculus? I recommend you to try this one (none of the others SDK and Unreal versions worked for me): UnrealEngine-oculus-5.3.2-release-1.97.0-v65.0 Careful about the Antivirus, you'll need to add these exceptions, I did it in Avast, Defender from Windows could delete everything even if you add the exeptions:

Did you created destinations and configured all the DUC requirements listed here in the SharedSpaces readme?

**Do you have all the mentioned in this list? (I have my own recipe, but this list could be useful, seems functional)

Good luck!

image.png (view on web)https://github.com/user-attachments/assets/c785fc53-1377-4b8b-9c5d-d5ecd6ff14b5

image.png (view on web)https://github.com/user-attachments/assets/d7e1254d-dba8-463a-9941-f43e6ba1b935

— Reply to this email directly, view it on GitHubhttps://github.com/oculus-samples/Unreal-SharedSpaces/issues/82#issuecomment-2259260095, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJUC6V4SDZC6ODALMJCBUJ3ZPACBZAVCNFSM6AAAAABK74LXWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENJZGI3DAMBZGU. You are receiving this because you were mentioned.Message ID: @.***>

This email may contain confidential information and is intended only for the person(s) to whom it is addressed. If you have received it in error, please notify the sender and delete the email from your system.

alefriant commented 2 months ago

Hey again @Jdongre I tested sharedspaces like a year ago with Epic's build and it works too, so shouldn't be a problem, specially if you are getting the apk without errors. (you'll always have a few errors, but it works anyways) I'm pretty sure that your problem is related with destinations or maps or both, I suggest you to dig on that area. And maybe the Meta XR SDK? Check the version compatible with Sharedspaces, in my particular case it runs with v65, but during this time I've doing several modifications to the code, they offer it running with the v59. Anyways, this smells as maps/destinations.

jasonmeisel commented 2 months ago

I'm sorry to hear you're still having trouble! What was the resolution to your crash issue?

As for your current issue, could you try running adb logcat -s "*:F" -s "UE" (to see the logs while the app loads and then gets stuck) and respond with the output?

Jdongre commented 2 months ago

[cid:cccff2df-b1f2-494f-a78b-a363043dd07d]Hii I tried the logact i am getting this could you help me understand this is it due to sdk?


From: Jason Meisel @.> Sent: Thursday, August 1, 2024 6:04 AM To: oculus-samples/Unreal-SharedSpaces @.> Cc: Jayesh Dongre @.>; Mention @.> Subject: Re: [oculus-samples/Unreal-SharedSpaces] App Is crashing when opening (Issue #82)

I'm sorry to hear you're still having trouble! What was the resolution to your crash issue?

As for your current issue, could you try running adb logcat -s "*:F" -s "UE" (to see the logs while the app loads and then gets stuck) and respond with the output?

— Reply to this email directly, view it on GitHubhttps://github.com/oculus-samples/Unreal-SharedSpaces/issues/82#issuecomment-2261715769, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJUC6VYZUZYCYFJM7B5E7FTZPF7C7AVCNFSM6AAAAABK74LXWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRG4YTKNZWHE. You are receiving this because you were mentioned.Message ID: @.***>

This email may contain confidential information and is intended only for the person(s) to whom it is addressed. If you have received it in error, please notify the sender and delete the email from your system.

Jdongre commented 2 months ago

Also i wanted to know instead of third person character i want vr pawn what changes would be required for its working


From: Jason Meisel @.> Sent: Thursday, August 1, 2024 6:04 AM To: oculus-samples/Unreal-SharedSpaces @.> Cc: Jayesh Dongre @.>; Mention @.> Subject: Re: [oculus-samples/Unreal-SharedSpaces] App Is crashing when opening (Issue #82)

I'm sorry to hear you're still having trouble! What was the resolution to your crash issue?

As for your current issue, could you try running adb logcat -s "*:F" -s "UE" (to see the logs while the app loads and then gets stuck) and respond with the output?

— Reply to this email directly, view it on GitHubhttps://github.com/oculus-samples/Unreal-SharedSpaces/issues/82#issuecomment-2261715769, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJUC6VYZUZYCYFJM7B5E7FTZPF7C7AVCNFSM6AAAAABK74LXWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRG4YTKNZWHE. You are receiving this because you were mentioned.Message ID: @.***>

This email may contain confidential information and is intended only for the person(s) to whom it is addressed. If you have received it in error, please notify the sender and delete the email from your system.

Jdongre commented 2 months ago

Hii I fixed the map issue but now my controllers are not working the third person character is not moving and also I tried the vr pawn in that also the controlles input is not working can you help me to replace the third person character with vr Pawn


From: Jason Meisel @.> Sent: Thursday, August 1, 2024 6:04 AM To: oculus-samples/Unreal-SharedSpaces @.> Cc: Jayesh Dongre @.>; Mention @.> Subject: Re: [oculus-samples/Unreal-SharedSpaces] App Is crashing when opening (Issue #82)

I'm sorry to hear you're still having trouble! What was the resolution to your crash issue?

As for your current issue, could you try running adb logcat -s "*:F" -s "UE" (to see the logs while the app loads and then gets stuck) and respond with the output?

— Reply to this email directly, view it on GitHubhttps://github.com/oculus-samples/Unreal-SharedSpaces/issues/82#issuecomment-2261715769, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BJUC6VYZUZYCYFJM7B5E7FTZPF7C7AVCNFSM6AAAAABK74LXWOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDENRRG4YTKNZWHE. You are receiving this because you were mentioned.Message ID: @.***>

This email may contain confidential information and is intended only for the person(s) to whom it is addressed. If you have received it in error, please notify the sender and delete the email from your system.

jasonmeisel commented 1 month ago

Since you were able to fix the app crashing, I'm going to close this. If you have additional bugs to report, feel free to open a new issue.