Yellow-Dog-Man / Resonite-Issues

Issue repository for Resonite.
https://resonite.com
139 stars 2 forks source link

Attempting to create a group home returns an exception #1144

Open jae1911 opened 9 months ago

jae1911 commented 9 months ago

Describe the bug?

When trying to open the URL resrec:///<group ID>/R-Home, exceptions will be thrown in the logs.

To Reproduce

Use the following Flux and pulse it.

Resonite_aOJf5wuNna

Notice the following line in the logs:

8:40:54 PM.671 ( 69 FPS)    Creating a new Group Home from the template URL: resrec:///G-Resonite/Worlds/HomeTemplates/Group

And then the exceptions. The loading indicator also will never go away:

Resonite_y0ovAsiZfk

Expected behavior

A group home should be created from the template.

Screenshots

No response

Resonite Version Number

Beta 2024.1.13.8

What Platforms does this occur on?

Windows

What headset if any do you use?

Valve Index; Desktop

Log Files

J4 - 2024.1.13.8 - 2024-01-13 20_39_18.log

Additional Context

I discovered Group Homes while editing the wiki and thought it was never implemented given no mentions of it is made in-game and in-ui.

Reporters

j4 | j4.lc (Discord)

shiftyscales commented 9 months ago

I believe this is actually a content issue, I just checked the directory printed in the log and we only have templates for Local, Tutorial, and Cloud in that folder.

It appears that the Group world template was just never made/overlooked.

Assigning @AegisTheWolf and @RyuviTheViali to investigate this, thanks for the report.

ProbablePrime commented 9 months ago

For now we could patch things to load a copy of the "user" cloud home when this is requested.

Instructions for doing that would be:

  1. Place a copy of the cloud home world orb in the right resonite group folder, name it Group
  2. Set its world path to "Worlds\HomeTemplates"
shiftyscales commented 9 months ago

Can you try again, @jae1911? There should be a Group home template in that folder now.

jae1911 commented 9 months ago

Seems I am getting the same result. On version Beta 2024.1.13.83, here are the logs:

J4 - 2024.1.13.83 - 2024-01-17 12_56_02.log

shiftyscales commented 9 months ago

Sounds like that solution didn't end up working, @ProbablePrime- I think this will need to be looked at in code to see what is up.