Dad72
1
Hello,
I create herbs with sprites and wanted to serialize the whole spriteManager.
I added a specific id and a metadata.
But when I serialize, the id and metadata is not serialized
The uniqueID that exists is also not serialized.
Would it be possible to add an id and metadata to the SpriteManager and that can be serialized ?
My PG of test : https://www.babylonjs-playground.com/#YCY2IL#1159
Thanks in advance.
sebavan
2
sprite manager does not have id but only name and no metadata at the moment.
I am not opposed to a PR adding them 
1 Like
Dad72
3
I don’t know how to do this PR. 
sebavan
4
Metadata will be in with Add Sprite Manager Metadata by sebavan · Pull Request #13259 · BabylonJS/Babylon.js · GitHub And I think you could place your id in those so no need to bloat the current class with more if not used broadly within the framework
2 Likes
Dad72
5
Yes I will be able to put the id in the metadata.
Thank you very much sebavan
2 Likes