Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for UIDs in MultiplayerSpawner #95648

Closed
wants to merge 1 commit into from
Closed

Check for UIDs in MultiplayerSpawner #95648

wants to merge 1 commit into from

Conversation

Summersay415
Copy link
Contributor

Follow-up to #91084
Completely fixes #90903

#91804 alone wasn't enough, because it only fixed editor part of issue, not the runtime.

@@ -276,8 +277,9 @@ void MultiplayerSpawner::_node_exit(ObjectID p_id) {
}

int MultiplayerSpawner::find_spawnable_scene_index_from_path(const String &p_scene) const {
ResourceUID *resource_uid = ResourceUID::get_singleton();
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I cached resource_uid, because without that line will be very long, this is OK?

@AThousandShips AThousandShips requested a review from Faless August 16, 2024 16:34

Verified

This commit was signed with the committer’s verified signature.
Calinou Hugo Locurcio
@AThousandShips AThousandShips added this to the 4.4 milestone Aug 16, 2024
@Summersay415 Summersay415 closed this by deleting the head repository Oct 28, 2024
@AThousandShips AThousandShips removed this from the 4.4 milestone Oct 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

MultiplayerSpawner doesn't work with UIDs
2 participants