|
| 16 Mar 2015 03:32 PM |
Making a space game, it generates about 6000 1-10 stud spheres at the beginning of the game. Occasionally, when flying around through space the engine will crash. I'm not sure what causes this, but all of the spheres are the slate material if materials have anything to do with it. My guess is just a glitch from trying to render something very small over a large distance. the spheres are on the same y axis, and are spread over a 20,000 x 20,000 space.
I know it is not any loop or script errors, but if it helps i am also creating and removing a part every 0.1 seconds for an effect im using for the ship. Obviously no output as this is just the roblox engine crashing.
I was hoping if anyone knew what the common causes of this error were they could post them.That would be extraordinarily helpful.
Thanks for the help guys ^.^ |
|
|
| Report Abuse |
|
|
| |
|
kert109
|
  |
| Joined: 31 Dec 2009 |
| Total Posts: 681 |
|
|
| 17 Mar 2015 06:33 PM |
It's due to lag. a 20,000 x 2,000 space with sphere sizes being 1-10 studs? Major lag.
Either reduce, or make a special system that only renders parts within a 1k stud range.
|
|
|
| Report Abuse |
|
|
|
| 17 Mar 2015 07:12 PM |
Alright, shouldnt be too hard to do. Guess its server lag though, client side things have been so smooth :P
Thanks ^.^ |
|
|
| Report Abuse |
|
|