I've rendered hundreds of unions on a phone and they didn't cause any frame drops. Unions are not the most laggy object in roblox studio, Decals, Textures, SurfaceGUIs and ParticleEmitters whould be the least performant objects since it usualy loads hundreds of pixels with unique colours and opacity to make an image every frame. ParticlesEmitters calculates the forces applied on the individual particles so it whould require more computing power. Sounds are pretty laggy on less performant devices. MaterialVariants should be worse than Textures since it has 4 images at once and the lighting calculates how the material should look from you view each frame. If you want your game to be the most performant, use Compatibility, Use the least amount of triangles as possible, Don't use any images throughout your game (Except Skybox), Make your collisions as low poly as possible and remove any collision that whouldn't matter, animations shouldn't be smooth and your scripts should be really performant.
@@Fauconmaxit still renders the same things meshes or models made with performance in mind are much more consistently... clean when a union is simple enough and doesn't need used everywhere, it might be fine but uhrm yeaaa better to make sure the thing you need is as simple as possible while still looking good
@@SmartyRBX i researched further and found out a few more ways to optimize. Inside of the model setting the model to Nonatomic and StreamingMesh would give the best results along with giving the model's children Custom Physics and removing the elasticity and elasticity weight completely (unless necessary) and also, an anchored part with collisions turned off and shadows turned off is little to no perfomance cost at all, so i made a script that makes everything anchor true regardless of whether its a npc, enemy or part when there are no players in a range of 200 around it. CanQuery by the way does determine whether a raycast will detect and stop when it collides with the part, so turning it off for assets like bushes and grass would be preferable, and also veryy slightly decreases memory cost for the part itself. (i learned all this based on research correct me if im wrong, ive tried every single one of them though so i believe these are true)
Question, for future lightning, what is the best way to optimize it? Doors for example has it, and it's the one of the only games I can run fine with at max graphics
Doors it easy to run because 1. The whole map is randomly generated . 2. The entire map takes place in an interior setting. 3. Most of the monsters are just pngs. 4. The game has two places, the lobby and the game itself. they take place in DIFFERENT games.
idk if u still need help cause its 1 year later: but terrain on Roblox is quite unoptimized and you can't really so much against it of [at least of what I know], but you could remove some terrain you're not able to see!
there can be lag at roblox studio but this is how to not make lag in roblox studio: make sure u have a small project make sure your computer is good enough make sure dont use big model
1 question, i wanted to make security cameras screen and it is working great but it lags server so much and besides that theres 2 surface guis on one screen, so how to fix it when i intend to keep 2 surface guis (1 camera, 1 video asset)
I don't know if you still have this problem after 3 months, but you have to enable the ContentStreaming property located in workspace and adjust the StreamingTargetRadius(I think) which defines the maximum distance from the camera a part will be rendered.
You may have a virus in your game, or a humanoid in workspace. Delete free models/edit them, and make sure to search humanoid in workspace and make sure there are none directly under workspace (if it’s in a character, it’s Ok). Strangely, this causes a ton of lag since it classifies the workspace as a character, which has unique properties, and therefore breaks the game.
my game used to use 500Mb memory at his peak, now he uses 720 because i added so much content, but the playtime is lower bc low devices are having lag, i already did these thinks but is not good enough what shoul i do ?
Do you have scripts? Scripts could be causing the issue like loops, etc. Also you could make a system where aspects of the map load when you enter them, but disappear when you go away (like livetopia with furniture), and turn on streaming enabled with workspace and turn down the values to 64 for minradius and mess around with the maxradius setting it as low as possible.
@@SmartyRBX was my leaderboard, was updating every 10 seconds, and the games has a lot of players and this was causing lag, now loads every 5 minutes. tysm, keep with your good content.
I have one question hope you see... how did pet simulator x do it... its one of the biggest games i have ever seen on Roblox with heavy construction but has no lag ?
@@doctorelijah okay i see there's smth like: Player:Move called but player currently has no humanoid infinite yield possible on game.Workspace.(myuser).Accessory(Cube.001.Accessory):WaitForChild("Humanoid") and 3 more errors like this but with different accessories humanoid is not a valid member of my user's model not pretty sure about fixing that
@SmartyRBX i get in the future a system what import models from other sub places to the game when running this should reduce the lag in edit mode but for the run mode i can use streaming enabled but it not stream terain so it gone look wierd if its used also i make a sci-fi game with skyscrapers and alot npcs and future tools i will like make a mall here what i made on another place and import with that system i hope this tips will help reduce lag if it comes there also do you know whats the lowest processor Roblox is available for i will search somoene with that processor to do a part count lag test and with a plugin count parts in studio to know the limits and reduce the limit
I will come back to this video when I need it in the future. Also congrats on hitting 10k
Awesome! Thank you!
I've rendered hundreds of unions on a phone and they didn't cause any frame drops. Unions are not the most laggy object in roblox studio, Decals, Textures, SurfaceGUIs and ParticleEmitters whould be the least performant objects since it usualy loads hundreds of pixels with unique colours and opacity to make an image every frame. ParticlesEmitters calculates the forces applied on the individual particles so it whould require more computing power. Sounds are pretty laggy on less performant devices. MaterialVariants should be worse than Textures since it has 4 images at once and the lighting calculates how the material should look from you view each frame.
If you want your game to be the most performant, use Compatibility, Use the least amount of triangles as possible, Don't use any images throughout your game (Except Skybox), Make your collisions as low poly as possible and remove any collision that whouldn't matter, animations shouldn't be smooth and your scripts should be really performant.
Pro Tip: LIMIT YOUR USE OF UNIONS. Use meshes or models instead
Aw man
What if I union all unions?
@@Fauconmaxit still renders the same things
meshes or models made with performance in mind are much more consistently... clean
when a union is simple enough and doesn't need used everywhere, it might be fine
but uhrm yeaaa better to make sure the thing you need is as simple as possible while still looking good
i turn my unions into meshes, does that help?
@@Scr1pt6 I think, yes
I rarely subscribe to people but you are one of the people that i will subscribe to. These are straight up Life Lessons
Dope! Welcome 🔥
Life lessons!?
@@SmartyRBX i researched further and found out a few more ways to optimize. Inside of the model setting the model to Nonatomic and StreamingMesh would give the best results along with giving the model's children Custom Physics and removing the elasticity and elasticity weight completely (unless necessary) and also, an anchored part with collisions turned off and shadows turned off is little to no perfomance cost at all, so i made a script that makes everything anchor true regardless of whether its a npc, enemy or part when there are no players in a range of 200 around it. CanQuery by the way does determine whether a raycast will detect and stop when it collides with the part, so turning it off for assets like bushes and grass would be preferable, and also veryy slightly decreases memory cost for the part itself. (i learned all this based on research correct me if im wrong, ive tried every single one of them though so i believe these are true)
this guys actally smart giving good agruments to watch another video
god bless youuuu omg! This worked so fine, thank you so much!
TYSM DUDE. IVE BEEN FINDING VID LIKE THIS FOR SO LONG N FINALLYY
Question, for future lightning, what is the best way to optimize it? Doors for example has it, and it's the one of the only games I can run fine with at max graphics
Doors is really easy to run
Doors it easy to run because
1. The whole map is randomly generated .
2. The entire map takes place in an interior setting.
3. Most of the monsters are just pngs.
4. The game has two places, the lobby and the game itself. they take place in DIFFERENT games.
@@omgdin the only outside part is the room with the metal gates
@@Fr0stKnight0k it's still a room because it's a enclosed space but it's a exterior setting
@@omgdinDoors uses a deloading system
If your far from the room you were in, it'll get removed and will no longer be there
How to fix the bug terrain (Big Map) when the camera is lagging
idk if u still need help cause its 1 year later: but terrain on Roblox is quite unoptimized and you can't really so much against it of [at least of what I know], but you could remove some terrain you're not able to see!
@@LunarBasiluxwell i guess im cooked becuase my game is mostly terrain
This is so helpful. Thank you man.
You're welcome!
@@SmartyRBX hi, when i dev in roblox studio it takes a long time to load, even normal baseplate, and when i test i crash any tips?
@@glitchfa8764 tip:better pc
@@iamsilent8367 im not talking trash bc I even have that problem
ty, this helps a lot!
Great vid. Will you make one on the Game Design Document?
Eventually!
CanQuery will make it so ray will ignore the part/instance once being casted
same for any other actions include BasePart information/hits
there can be lag at roblox studio but this is how to not make lag in roblox studio:
make sure u have a small project
make sure your computer is good enough
make sure dont use big model
Use sub places for things like maps and things you can teleport to
Thia terrain is awesome 😎
Thanks!
Man am going on whit my scripting skills and am grateful for you
Good to hear!!
Hey how long do you think it'll take for the advanced scripting to come out?
few weeks he said
Unrelated, but you sound exactly like TurkeyTom
bruh i got alot of buildings my pc almost exploded, so this cant work for me
good tips, but man your video editing gives me more motion sickness than my vr headset ever gave me.
Thanks. Its been improved from here
1 question, i wanted to make security cameras screen and it is working great but it lags server so much and besides that theres 2 surface guis on one screen, so how to fix it when i intend to keep 2 surface guis (1 camera, 1 video asset)
My question would be, just removing the shadow on meshes is enough or also for parts?
Depends. If you have like 10k parts - shadows will affect a lot, like try to make minimum shadows possible and not to ruin a game😅
how do you limit render distance? my game seems to be loading in every part no matter the graphics quality and it is lagging like crazy
I don't know if you still have this problem after 3 months, but you have to enable the ContentStreaming property located in workspace and adjust the StreamingTargetRadius(I think) which defines the maximum distance from the camera a part will be rendered.
@@baumerbaum I did manage to solve the problem, but it (my solution) was a lot more complex than your solution so i'll keep this in mind, thanks
@@baumerbaum yo, thank you verymuch
TYSM
thanks dude you helped me alot
bro future is not laggy at all but ok, also future makes lighting and shadows look way better for scenic builds just saying.
It is laggy if you use lights or lots of parts. Depends, you're right.
@@SmartyRBX i guess so, but me personally ive never had the issue
@@SmartyRBX You are correct on this, Smarty.
Automatic or performance? Tbh I use most of the union because I can change the render fidelity
useful dude! ill come back later.
Thanks !!
Bro adds to many capcut animations to his vids
I
use
premiere
lol
I have a question. In my roblox studio, for the renderfidelity, there is no performance option. is it some sort of plugin? please i need to know!
i think the performance option appears for meshes, but not for unions (side note: performance doesnt work if the mesh is too simple)
Thanks broski!
ive done every single thing in this video, made the game look like crap, and nothing works. It lags every 3 seconds no matter what I do.
You may have a virus in your game, or a humanoid in workspace. Delete free models/edit them, and make sure to search humanoid in workspace and make sure there are none directly under workspace (if it’s in a character, it’s Ok). Strangely, this causes a ton of lag since it classifies the workspace as a character, which has unique properties, and therefore breaks the game.
@@SmartyRBX Deleting free models wont work free models make it easier
Hi, I've followed almost every step here, but my game won't stop lagging. Any ideas?
Maybe you can make a few parts to a union. I think it can make it less laggy.
@@MiLa-hq5so Unions actually create more lag, I would explain why but there’s plenty of forum posts that explain it. DO. NOT. MAKE. UNIONS.
@@MaxGamerFun are models better?
@@MiLa-hq5so meshes are better
the camera movements are going to give me motion sickness
you think i can get some personal help for creating my game?
Problem is i cant get onto my game because of how full it is 😅😭😭
i have a question. does making your object invisible or opacity on value of one not including it on render process?
It doesn't render yea
it does less lag but the collisions will still work
my game has like 10 parts and its crazy lagging going down to like 5fps and its only studio
Thx❤
SOMEONE HELP! How do you edit settings for multiple objects? I am having to do 1 by 1 😭
I need help I made a game but when you play it on devices like ps5 Xbox series good pc or good phone my game is delayed how do I fix it
i dont understand how to turn some off that stuff off.
I dont have the performance option for render fidelity
I thought its a video about lua optimizations
Will it help reduce lag
Yo i cant find the castshadows box to uncheck it....
THANK YOU!!!!!!!!!!!!
the game isnt the laggy thing its the studios
how to open the properties menu?
how to selcet more elements
my game used to use 500Mb memory at his peak, now he uses 720 because i added so much content, but the playtime is lower bc low devices are having lag, i already did these thinks but is not good enough what shoul i do ?
Do you have scripts? Scripts could be causing the issue like loops, etc. Also you could make a system where aspects of the map load when you enter them, but disappear when you go away (like livetopia with furniture), and turn on streaming enabled with workspace and turn down the values to 64 for minradius and mess around with the maxradius setting it as low as possible.
@@SmartyRBX was my leaderboard, was updating every 10 seconds, and the games has a lot of players and this was causing lag, now loads every 5 minutes. tysm, keep with your good content.
@@robert0263 if you want to change it back to 10 seconds you could make it so that the leaderboard is visible only if you're within a certain radius
@@Tipixter the problem is it still fires the script meaning every 10 seconds this leaderboard is lagging the game out
Maybe only for computer, no one uses mobiles to guide
I have one question hope you see... how did pet simulator x do it... its one of the biggest games i have ever seen on Roblox with heavy construction but has no lag ?
Pet sim is pretty light. They use models so they can use less parts. Then areas are loaded in when you teleport to them.
@@SmartyRBX ohh... so would u suggest me using meshs ?
@@NewbiexdRoblox 100%
It reduces parts cause… instead of 50 parts to make a house it can be one mesh with a texture
@@NewbiexdRoblox there’s guides on my channel for blender which should help a lot
@@SmartyRBX Thanks sir.. I recently discovered your channel today... and now motivated I almost quit on making my dream game Thanks 😊
Jesus loves us
Yes! ✝️
Amen
but he hates you
@@kakaboshaHe Loves everyone. He even sacrificed his life to save ALL of us.
@@kakabosha who hurt you?
I have thousands of objects so I can’t do none of these
tried it all nothing worked
3k in a few weeks? 😄
Why does your editor zoom the video in and out so much? Other than that though nice video
what if I don’t have some of those options ?
Thats not possible?
@@LordixEpicocould you then explain to me why my game has 200 fps at the beginning but by just staying for like 2 minutes it goes down to 20
@notaverage315 check the dev console (/console) and see if theres any errors or warnings from scripts
@@doctorelijah alr thanks ill try to fix the problem
@@doctorelijah okay i see there's smth like: Player:Move called but player currently has no humanoid
infinite yield possible on game.Workspace.(myuser).Accessory(Cube.001.Accessory):WaitForChild("Humanoid") and 3 more errors like this but with different accessories
humanoid is not a valid member of my user's model
not pretty sure about fixing that
when advanced scripting tutorial
Working hard on it! Hopefully within the next few weeks!
im dizzy
The editting makes me sick.
Robux
@SmartyRBX i get in the future a system what import models from other sub places to the game when running this should reduce the lag in edit mode but for the run mode i can use streaming enabled but it not stream terain so it gone look wierd if its used also i make a sci-fi game with skyscrapers and alot npcs and future tools i will like make a mall here what i made on another place and import with that system i hope this tips will help reduce lag if it comes there also do you know whats the lowest processor Roblox is available for i will search somoene with that processor to do a part count lag test and with a plugin count parts in studio to know the limits and reduce the limit
First
69th comment best comment pin
I did everything and yet the lag still hasn't gone yet for me.
W