No video

Unity Open World Game And Spatial jittering [ Problem ]

  Рет қаралды 5,167

Ciorbyn Studio

Ciorbyn Studio

4 жыл бұрын

★★★ Subscribe: bit.ly/3hhhipk ★★★
The video explains, because if you want to create games with large spaces it's better to forget about Unity.
★ Sources And More Information:
Detailed explanations: saltyhash.org/2...
Floating Origin: wiki.unity3d.co...
★ Play my free games:
www.pacogames....
★ Music:
'Hiraeth' by Scott Buckley

Пікірлер: 78
@isobelshasha2095
@isobelshasha2095 2 жыл бұрын
just a psa for folks, you'll run into this issue in any game engine that uses floats to store world positions while doing calculations like rendering or physics, it's NOT some glitch unique to unity. There are documented solutions that games such as Kerbal Space Program use that you can research for this- the basic idea is to move the entire world every so often to keep the gameplay centered near the origin (as you point out in the video). I havent used it but I think the asset GAIA includes that functionality and there are prob other tools you can find to help
@isobelshasha2095
@isobelshasha2095 2 жыл бұрын
large open world games are gonna require a lot of tech to get working and unfortunately need custom solutions for things like geometry batching, culling, and light baking. For lighting I once looked into storing lightmaps on prefabs, which I think is possible but i dont remember enough to be helpful rn
@MIKU-MIKU-39
@MIKU-MIKU-39 2 жыл бұрын
As you may already know, the High-Precision Framework, recently released on GitHub, may solve the problem. It replaces Unity's default coordinates with 64-bit coordinates, so objects far from the origin can be rendered accurately.
@RuberSocks
@RuberSocks Жыл бұрын
:O
@angel_luis
@angel_luis 3 жыл бұрын
I don't know if it's related because I'm new with Unity, but have you tried the new DOTS system?
@SilentYuki
@SilentYuki 3 жыл бұрын
What about making the camera and player stationary at 0,0,0 and move the map instead ?
@monishdhayalan2552
@monishdhayalan2552 3 жыл бұрын
this comment is just stupid
@c56edfrq
@c56edfrq 3 жыл бұрын
@@monishdhayalan2552 It's not. This is how old games tended to simulate large scale worlds
@jonathankaylor6672
@jonathankaylor6672 2 жыл бұрын
@@monishdhayalan2552 You don't seem to understand how game engines work.
@aust2354
@aust2354 2 жыл бұрын
@@monishdhayalan2552 The amount of games that already use this exact technique shows how little you know about game development.
@8wheelspartyhummerhxh3conc60
@8wheelspartyhummerhxh3conc60 4 жыл бұрын
Yo Wassup Ciorbyn Studio Good To See You
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
Hi! Thanks 😆
@samoliverdev
@samoliverdev 4 жыл бұрын
You will need use FloatingOrigin only if you map is very very large, more big the gta san sandreas. If you increase camera Clipping Planes near, lessen the problem. And if you use the hdrp have camera relative render then resolve this problem. but i think then you map is not too big to need this feature. put your map in center of world zero pos and increase camera Clipping Planes near, i think this resolve your problem.
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
Yes, the map is 6000 x 6000 set with zero center so I have 3000 - 0 - 3000. Of course the aberrations are not so evident (in the video I went to extremes to highlight the problem) it will be that now my eyes always look there but the quality is still terrible if I want to sell the game.
@samoliverdev
@samoliverdev 4 жыл бұрын
@@CiorbynStudio So if you increase camera Clipping Planes near and not resolve, the camera relative render in hdrp resolve, in my test i move to 30000 from zero and the grafics look perfect. But in my test for my own game in urp from 5000 from zero with 0.3 in near plane look good
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
@@samoliverdev In my case, from 0 to 1000 I already notice some flicker, even if minimal. As a clipping plane in the interior views I have to keep 0.1 because otherwise the vehicle pillars are cut, but even setting higher values does not change. In previous games i'm also I was able to go a little further, but surely they also affect other factors based on the type of game such ,vehicle physics, suspension etc.
@samoliverdev
@samoliverdev 4 жыл бұрын
Try by your self use the new unity version, with urp and hdrp. i am using 0.3 in my camera but the camera collision resolve the camera enter in objects.
@samoliverdev
@samoliverdev 4 жыл бұрын
Look by your self, i am using unity 2019.4 using urp kzfaq.info/get/bejne/mqx2rNulmZbJmqM.html
@toao_rainys
@toao_rainys 2 жыл бұрын
yo, are you continuing CS-Drive? i haven't fixed the jittering issue but someone pointed out that you could just move both the world and the player back if the player goes like 1 km from the origin (0, 0, 0) i think it could be possible to fix that. that's why i love unity. you don't need to make your own engine and you could just easily work around it and stuff.
@brex99studio94
@brex99studio94 4 жыл бұрын
kiddin' _i don't think that stopping CS-DRIVE project is a good idea, try to split your scene into 4 scenes make a tunnel in everyone which makes the player moves to the other scene like in - Russian car driver hd - you shouldn't give up like this,i tried to fix this bug about one hour and this what i got: 1- i changed the Directional light (The sun) Bias to 0.81 -it fixed a part of this issue.X 2- i have a low pc so I disabled the shadows- it fixed the next part pf the issue,so badbye Spatial jittering!!!!.X.NOPE I hope that can help you. p.s: I'am using Unity 5.6.7f1 (32 bit)
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
Thank you, any suggestions can help! Giving up on the project hurts, especially after I've been working on it for months but this thing has blown me away and unfortunately, being a limit of Unity on my part, I can do very little. I am currently doing tests with half of the playing field and it seems acceptable. I'll try also to vary the light as well as you said.
@marcoseliasmep
@marcoseliasmep Жыл бұрын
I’m using floating origin in my Proton Bus Simulator, even with all cons… I just apply it with my vehicle stopped, otherwise sometimes it starts flying lol Another solution would be migrating to Unreal, but it requires more powerful hardware to run. That could limit a lot the experience for mobile players and even cheap gaming PCs with entry level GPUs. DOTS probably would solve it but it’s like another engine, since PhysX cannot be used.
@audacityfilmsproductions5334
@audacityfilmsproductions5334 3 жыл бұрын
Try lowering your cpu by reducing your faces and vertices are you any good with Blender? It won’t be the ultimate fix but for our Mobile RPG(via Unity) it’s been done and the file size is only 500mb surprisingly and you can travel to plenty of places and is 1/4 the scale of real life. Unity also has a team you can contact for more specific situations like these they can moderate a version of unity for you so that it works best to your circumstances regardless of the basic vanilla model, unity wants to be the main game creating engine they see the new game and are trying to jump on it but doing that will cost a pretty penny unfortunately BUT it is an option, if you feel your game is worth it and you can make the capital back from it go for it you may even get offered a great dev job somewhere due to your accomplishments, don’t quit you’ll figure it out, even if it’s not Unity don’t put down you beloved project.
@khamismuniru5188
@khamismuniru5188 4 жыл бұрын
Please continue with the project. I´m so saaad you´re stopping it. Plus I have a question, are you a solo developer or a team of developers?
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
I will try to create another map within acceptable limits, but this results in a reduction of the playing field. P.s I am an independent developer.
@khamismuniru5188
@khamismuniru5188 4 жыл бұрын
@@CiorbynStudio yeah that sounds like a good idea, please find any workarounds because this project is just too beautiful to trash. Plus you being an independent dev is very inspiring.
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
@@khamismuniru5188 Thanks, I'll try... 😅
@foredee8496
@foredee8496 3 жыл бұрын
@@CiorbynStudio Dude just set back the scale. I swear, from what i've seen, your engine simulation and physics are some of the best i've seen. scale back the map but please don't stop.
@daso1n282
@daso1n282 2 жыл бұрын
Unreal4 & 5 baby :)
@dhxl
@dhxl 3 жыл бұрын
Really sad story 😢
@Dinovalen22
@Dinovalen22 2 жыл бұрын
Hola , una pregunta , donde puedo conseguir el juego para jugarlo? , me encanta ya quiero jugarlooo
@lucaslima1294
@lucaslima1294 4 жыл бұрын
Continue your game your game is beautiful Beautiful graphics,beautiful desevolpment game,continue guy. Your problem is bad or super bad
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
I try, thanks for the moral support 😄
@lucaslima1294
@lucaslima1294 4 жыл бұрын
Ok,i love your racing games
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
@@lucaslima1294 Thanks 😉
@yahyasezgin7732
@yahyasezgin7732 3 жыл бұрын
You could use world stream 2, this split the scene and loading as your location ,
@nator1654
@nator1654 2 жыл бұрын
If not unity what else?
@vinyas0795
@vinyas0795 4 жыл бұрын
I too face this problem still I relia on it because unity doesn't require high specs pc but unreal requires.... 🙁Hope you would restart the project in different game engine
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
Maybe I try to reduce the map to acceptable glitch limits. But I think I'll start studying Unreal for the next projects.
@vinyas0795
@vinyas0795 4 жыл бұрын
@@CiorbynStudio Then you should sell your unity project car prototype
@ivangamer8022
@ivangamer8022 3 жыл бұрын
sad story. i'm getting tired of unity glitches and bugs
@imperator0183
@imperator0183 4 жыл бұрын
hi bro i don't build my game for Android. error is event🤦🏻‍♂️. i change keystore settings, package name but it doesn't work. please help me. at last i build this scene game but i don't build now 🤷🏻‍♂️.
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
So it is too general to understand the problem. To understand what you are doing wrong you have to look at the error messages in the console. And eventually copy and paste them on the search engine to see if anyone has already mentioned that error on the Unity forum.
@imperator0183
@imperator0183 4 жыл бұрын
@@CiorbynStudio bro i search on KZfaq this problem but i don't find anything. please if you know anything say me how to solve this problem.
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
@@imperator0183 When the compilation fails, red logs appear in the console. You have to interpret that message to understand the problem! What's written?
@imperator0183
@imperator0183 4 жыл бұрын
@@CiorbynStudio okey bro
@deletedchannel7908
@deletedchannel7908 3 жыл бұрын
They should to make 64 bit floating point.
@nator1654
@nator1654 2 жыл бұрын
and this will fix it?
@LemonMontage420
@LemonMontage420 2 жыл бұрын
@@nator1654 yes because the amount of numbers used to express a floating point number goes from 32 to 64. The floating point problem effectively goes away, you could literally simulate something a literal solar system distance away and it'd be accurate, that's why Star Citizen uses 64-bit floating point numbers
@supermattis108
@supermattis108 3 жыл бұрын
What no? 🤣🤣🤣 Just stream dude, and set a floating origin within the streaming..
@madisaurusthelazyspinosaur3984
@madisaurusthelazyspinosaur3984 4 жыл бұрын
i was so exited for cs drive but i get it
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
I try to make a smaller map, but it will take a while because I have to do months of work all over again.
@madisaurusthelazyspinosaur3984
@madisaurusthelazyspinosaur3984 4 жыл бұрын
@@CiorbynStudio I know
@supermattis108
@supermattis108 3 жыл бұрын
My map is shit huge in my game.. I have just splitted the terrain, and stream it .
@renatoaruffo
@renatoaruffo 2 жыл бұрын
This is not a problem with Unity, but computers. If you do drag anything far away from origin point, it will be glitchy. Unreal, Unity, Maya, Blender, 3Ds Max, Rockstars GTA Engine. The thing is, you have to reset your origin point, every open world game you play does that.
@imperator0183
@imperator0183 4 жыл бұрын
bro car destruction video please 😭😭😭😭
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
Okay, I'll do a tutorial just for you. 😉
@imperator0183
@imperator0183 4 жыл бұрын
@@CiorbynStudio 😄😄 thanks bro i wait for tomorrow😁
@CiorbynStudio
@CiorbynStudio 4 жыл бұрын
@@imperator0183 I try to do it in the week ...😂
@imperator0183
@imperator0183 4 жыл бұрын
@@CiorbynStudiofor this week?
Watch This Before Working on a Big Game in Unity
18:44
John Leorid
Рет қаралды 294 М.
This glitch is in every game ever made
6:48
Jabrils
Рет қаралды 271 М.
Ouch.. 🤕
00:30
Celine & Michiel
Рет қаралды 35 МЛН
How to open car doors on impact [ Unity Tutorial ]
15:50
Ciorbyn Studio
Рет қаралды 6 М.
Insane Huge Terrain 10,000 square km - Godot engine
9:18
mohsen zare
Рет қаралды 8 М.
When Your Game Is Bad But Your Optimisation Is Genius
8:52
Vercidium
Рет қаралды 1,5 МЛН
JPEG is Dying - And that's a bad thing
8:09
2kliksphilip
Рет қаралды 505 М.
A new way to generate worlds (stitched WFC)
10:51
Watt Designs
Рет қаралды 523 М.
How to make engine sound loop for games [ Tutorial ]
11:03
Ciorbyn Studio
Рет қаралды 57 М.
Fixing Unity stuttering - The Ultimate Guide
2:46
Hertzsprung Games
Рет қаралды 13 М.
OverlapShpere - УРОКИ ПО ЮНИТИ / LESSONS ON UNITY
9:41
Making an OPEN WORLD Game as a Solo Dev
7:26
anbagames
Рет қаралды 64 М.