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

Fix entities leftovers #2101

Merged
merged 11 commits into from
Feb 22, 2024
Merged

Conversation

tornac1234
Copy link
Collaborator

@tornac1234 tornac1234 commented Dec 27, 2023

Fixes and stuff:

  • Fix constructor sinking (when playing with more than one player)
  • Vastly improve simulation ownership
  • Some more Quality of Code things

Entity syncing:

  • Fix crash homes not spawning crashes (finally !)
  • Sync geysers erupting (more immersion = the best)
  • Sync reefback children spawning
  • Sync creature respawn and cooked creature (when dead by fire)

World loading improvements:

  • "Fully" refactored WorldEntityManager
  • Change world loading to only spawn entities in view range
  • Improve entity loading by no longer caching GameObjects when unloading a cell

(done) Needs #2093 to be merged (this branch is built onto it)

@tornac1234 tornac1234 added Area: persistence Related to serialization for long term storage (i.e. files and databases) Area: spawning Related to spawning and/or terrain labels Dec 27, 2023
@tornac1234
Copy link
Collaborator Author

tornac1234 commented Jan 6, 2024

There's still a bug with crash homes to be fixed, will be done after #2099 and #2100 are merged (also review corrections aren't committed yet)

@tornac1234 tornac1234 force-pushed the entity-leftovers branch 2 times, most recently from 10d1535 to b764d10 Compare January 11, 2024 20:54
@tornac1234 tornac1234 force-pushed the entity-leftovers branch 2 times, most recently from c3544df to 8a7509f Compare January 21, 2024 01:23
@tornac1234
Copy link
Collaborator Author

To be tested

@tornac1234 tornac1234 mentioned this pull request Feb 15, 2024
10 tasks
@tornac1234 tornac1234 requested a review from Measurity February 16, 2024 13:11
@@ -22,9 +22,9 @@ public PlanterEntity(NitroxId id, NitroxId parentId)
ParentId = parentId;
}

/// <remarks>Used for deserialization</remarks>
/// <remarks>Used for deserialization. Should not be used for something else</remarks>
Copy link
Member

Choose a reason for hiding this comment

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

Old comment

@tornac1234 tornac1234 merged commit ffe3352 into SubnauticaNitrox:master Feb 22, 2024
@Measurity Measurity added this to the 1.8 milestone Aug 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area: persistence Related to serialization for long term storage (i.e. files and databases) Area: spawning Related to spawning and/or terrain
Projects
None yet
4 participants