This repository has been archived by the owner on Jan 18, 2022. It is now read-only.
BlittableBool is not Serializable #935
Labels
A: core
Area: Core GDK
S: accepted
Status: This issue has been accepted.
T: enhancement
Type: This is an improvement to an existing feature
Milestone
We are accepting issues and we want your feedback.
Description
BlittableBool is not serializable. This means I cannot serialize any generated code data in a prefab for ease of configuring templates using the editor.
Expected behaviour
Doing something like
Should appear in the editor and be editable.
Current behaviour
The field does not appear in the editor.
Possible solution
Adding [Serializable] attribute and making the
value
field public and non-readonly allows the type to be serialized.Steps to reproduce
Or any type that uses BlittableBool
Environment
Generically serialize component snapshots in MonoBehaviours so I can use prefabs as entity templates.
n/a
GDK v0.2.1, Unity 2018.3.11f1
The text was updated successfully, but these errors were encountered: