>but when you tele to other place and go back to flaris it shows up
That's not .dyo file, if would .dyo, the npc should not showing at all, but re-teleport fixi it
Tbh i'm expected a bit more attentiveness by person, who has source-shop with optimized and fast code

About your problem, I'm not sure, but probably you did something wrong in ObjSerializeOpt