decentraland / unity-explorer

Apache License 2.0
9 stars 10 forks source link

[QA] Cannot connect to destination host #1663

Closed Ludmilafantaniella closed 2 weeks ago

Ludmilafantaniella commented 3 months ago

Explorer Alpha build versions:

Issue Description:

While testing Explorer Alpha v0.16.0 on a MacBook Pro with an M1 Pro chip, I encountered significant rendering and performance issues. After teleporting, scenes often failed to render correctly or at all, requiring a restart to resolve. Additionally, the loading bar frequently froze at 20% or 60%, causing either a blank scene or failed teleport. The app's performance was sluggish, making it difficult to test scenes effectively.

LOGS:

Player.log.zip Player-prev.log.zip

STR:

  1. Launch Explorer Alpha v0.16.0 on a MacBook Pro M1.
  2. Teleport between scenes.
    • 100Avatars Garden -55,-121
    • Meta GamiMall 145,60
    • Metadynelabs world
    • Teleperformance -96,108
    • Dollhouse -102,-97
  3. Observe rendering and performance issues.

Expected behavior:

Current behavior:

Teleperformance scene: After several restarts of the Explorer, it now loads as it does on Windows.

https://github.com/user-attachments/assets/5801525b-db2d-4eaf-8f75-6f411d90bec8

A video while testing. I think this is the only time I was able to teleport more than twice in a row and have the scenes load. If I’m not mistaken, in the 3rd/4th teleport you can see how the scene stops loading after teleporting. VIDEO EVIDENCE

Additional Notes:

•   Model: MacBook Pro
•   Chip: Apple M1 Pro
•   Memory: 16GB
•   Display: 16-inch (3456 × 2234)
•   Storage: 335.12 GB available of 494.38 GB
m3taphysics commented 2 months ago

After some jumps I hit many exceptions. What is really strange is its almost like all requests stop working!

UnityWebRequestException: Cannot resolve destination host Curl error 6: Could not resolve host: d1llt8x08lrx4z.cloudfront.net

I can no longer jump to olavra, or metadynelabs either. It cannot connect to them.

Player.log

m3taphysics commented 2 months ago

Curl error 7: Failed to connect to api.segment.io port 443 after 4 ms: Error Curl error 7: Failed to connect to api.segment.io port 443 after 0 ms: Error Curl error 7: Failed to connect to api.segment.io port 443 after 0 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 5 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 5 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 5 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 5 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 5 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 5 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 6 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 0 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 0 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 0 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 0 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 0 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 0 ms: Error Curl error 7: Failed to connect to ab-cdn.decentraland.org port 443 after 0 ms: Error

Ludmilafantaniella commented 2 months ago

❌ I tested the issue again, adjusting the graphic settings on the Mac by reducing the resolution to 2560x1600, setting FPS to Auto/60, and lowering the graphics quality to low. However, the same problems persist when teleporting between large SDK7 scenes, like 100Avatars Garden and Meta GamiMall. The performance issues remain unchanged, and assets still fail to load or get stuck after several teleports.

The performance issues I'm seeing on my Mac, particularly after teleporting between large SDK7 scenes, might be due to a few different factors:

m3taphysics commented 1 month ago

Afte discussing with the Unity team / @dalkia we are going to try the following:

  1. We know that it is caused with Asset bundles and caching, so we can play around and get some metrics as to understand how often the asset bundle cache is reused. We are able to unload it immediately in many instances where we know its not reused, which reduces the number of loaded AB's at runtime.