Rendering on client side

I have local script that rendering enemies models, server tells where put model and other data, but some moment all models could be disappear.

Model itself exists and children are exist too but Instance like part and meshpart are NOT exists.

When I print parent it says nil
When I print position it says true position

even it suppose to destroy it never destroy, even function calls, even .destroying doesn’t print

I don’t have any ideas why

2 Likes

it only happens to slow enemies

Give script and pictures/video or place file because I need more context.

If the model exists but none of the children exists, it’s 100% StreamingEnabled. Either up your streaming radius, build your scripts around the streaming architecture, or disable streaming.

1 Like

even with streamingEnabled turn off it disappear, if streamingenabled model should stay but children not

sorry, I changed on old system I can’t show but I could find it in version history of the place

We can’t help you without a script.

2 Likes

If the models are created only on the LocalScript (client-side) and aren’t anchored, the client will simulate physics for them. If the “slow enemies” fall off the map or hit Workspace.FallenPartsDestroyHeight, the engine automatically destroys the parts inside the model, but it can leave the empty Model container behind.
Make sure the slow enemy BaseParts are anchored, or make parts collidable. Also, check if the joints are glitching out and flinging parts to the void.

Showing the exact code can definitely help, but these symptoms point to specific mechanics in Roblox’s engine.

Server cannot “render” anything
Only client does that
What you want to say is replicating pure data and interpreting it rather than replicating instances

Next: please structure an actual question and not aggressive complaining with zero information attached, as nobody will be able to assist you otherwise
If you are going to replicate data, I suggest using buffers with U8 opcodes to tell what the following bytes will mean
I haven’t written a tutorial about how to handle that network-wise, but if you need a buffer tutorial, here it is:

first at all I didn’t “aggressive complaining”, I just wanted to find reason why it can happens, I’m sorry I didn’t say that.

and if server will renders models it can lag on server side.
I know how to use buffers, but still thanks

No, I just wanted to find the reason why it can happens

problem has all models was anchored, I really don’t know why it can happens I just wanted to find the reason why it happens