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

Item.HasBeenInstantiatedOnce cannot be serialized and deserialized #15627

Closed
1 of 2 tasks
Regalis11 opened this issue Feb 14, 2025 · 1 comment
Closed
1 of 2 tasks

Item.HasBeenInstantiatedOnce cannot be serialized and deserialized #15627

Regalis11 opened this issue Feb 14, 2025 · 1 comment
Assignees
Labels
Bug Something isn't working Code Programming task Ticket The issue has been converted into an issue report.

Comments

@Regalis11
Copy link
Collaborator

Discussed in #15626

Originally posted by zhu-rengong February 13, 2025

Disclaimers

  • I have searched the issue tracker to check if the issue has already been reported.
  • My issue happened while using mods.

What happened?

After extracting the sub-file from the game save file and decompressing it using a gz tool, I found that Item.HasBeenInstantiatedOnce does not seem to have been written into the XML.

I checked the source code and found that Item.HasBeenInstantiatedOnce property is private, so it can't be hold on by ISerializableEntity.SerializableProperties

Reproduction steps

According to the What happened?

Bug prevalence

Happens every now and then

Single player or multiplayer?

Single player

-

No response

Version

v1.7.7.0 (Winter Update)

-

No response

Which operating system did you encounter this bug on?

Windows

Relevant error messages and crash reports

No response

@Regalis11 Regalis11 added Bug Something isn't working Code Programming task Ticket The issue has been converted into an issue report. labels Feb 14, 2025
@Regalis11 Regalis11 self-assigned this Feb 14, 2025
@Jasontti
Copy link
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Code Programming task Ticket The issue has been converted into an issue report.
Projects
None yet
Development

No branches or pull requests

2 participants