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
Fonts do not convert while serializing for saving simulations #3815
Comments
The converter for |
The serialisation works, but seems like deserialisation is broken now, if you add this experiment to the file:
You will realise that it raises an exception while trying to load:
The content of the file is normal (doesn't seem malformed) but to me color serialisation/deserialisation used to work properly before so it may be a consequence of this commit |
The proposed workaround didn't fix the issue, the error stack is still the same (UnsupportedOperationException, can't get field offset on a record class: private final float ummisco.gama.serializer.gamaType.converters.GamaColorConverter$GamaColorRecord.r ) |
OK. I see where it is coming from... I've pushed a fix. |
Describe the bug
Fonts do not convert while serializing for saving simulations. Can not convert fonts, raises exception
The text was updated successfully, but these errors were encountered: