Expose serialization api#2336
Conversation
Adds post-serialization and pre-deserialization hooks for additional customization.
* And revert the breaking change of the FormatterType removal * Add CHANGELOG entry
|
Add some tests. |
Sorry, something went wrong.
|
BTW, what's your interest in this functionality working? Cause if there's none, I think we should consider just bumping version to 4.x and dropping domain reload support altogether. Do you know anyone in Unity who stills works on it? There's been no communication for a while. |
Sorry, something went wrong.
Superseding/closing the previous PR. At this point, considering Unity's public plans, it's not unreasonable to drop this. Unity has their own fork with what was in the previous PR anyway.
I think so. Last I knew of, another team had assumed maintaintership of the package. I'll be sending a few messages see if they are still at Unity/on those projects |
Sorry, something went wrong.
|
@lostmsu Any more comments? I took the liberty to implement your comments on the formatter factory. P.S.: The current build failures are due to macos-14, I'll adjust the CI in another PR. |
Sorry, something went wrong.
To close the loop on this, the people I could get in touch with are no longer at Unity. |
Sorry, something went wrong.
Adds post-serialization and pre-deserialization hooks for additional customization.
What does this implement/fix? Explain your changes.
This PR supersedes #1892 , offer another workaround for issues #2335 #2221 #2282 , possibly others.
Does this close any currently open issues?
This addresses @lostmsu 's comments of exposing an API instead of adding functionality
Any other comments?
According to Unity dev answers on the Unity forums, they will implement a ring-link architecture as a replacement for domain load/unload. I have added no tests yet in this PR considering that domain load/unload is deprecated from a .NEt perspective.
https://forum.unity.com/threads/unity-future-net-development-status.1092205/page-34#post-8918231
This PR is made in my own name, I am no longer working at the company that signed the CLA for me.
Checklist
Check all those that are applicable and complete.
AUTHORSCHANGELOG