251
News about the Unity engine and project showcases from Reddit. Made possible with @reddit2telegram (@r_channels).
Issues with moving over bumpy terrain with a character controller?
https://reddit.com/link/1xshp4h/video/io1iof8jxq0i1/player
I downloaded and imported one of the official Unity terrain templates from the asset store just to test out my player movement on uneven surfaces. I use step offset of 0.35 - 0.45 and slope limit is generally around 45 degrees.
I tested walking up hills and uneven terrain on Warzone, Black Ops 6, Battlefield 2042 and Battlefield 6, and I never noticed but they feel similar too in some ways. Lots of jittering when moving up steep hills and the player slides back and fourth trying to navigate a slope at times.
But in my case and in the video, when I get up near the top, my character controller gets stuck in a very tiny "ditch" although visually it seems like nothing should be getting stuck there. And just like in other games, I have to press jump repeatedly or move sideways to get over that particular spot. But then at the end of the video my player kind of does an automatic zig-zag due to getting stuck on different parts of the terrain.
On Battlefield 6, I was able to move over almost everything. It actually felt like their slope limit was 80+ degrees with some of the hills I was able to walk over. But on Black Ops 6 I was getting stuck a lot and had to jump my way over objects so I just can't tell which direction I should try to go towards and what to try and solve.
My main question is what should be considered normal? I'm not sure if I'm looking too much into it as I've spent a considerable amount of time working on my collision.
On games with huge mountains that players walk on, do the developers intentionally make sure the most of the slope is walkable during the actual terrain creation process?
https://redd.it/1xshp4h
@r_Unity3D
How do you test a 2D game UI across different screen sizes in Unity?
A layout can look fine in the editor but become cramped on a narrow phone or when text gets longer. What is your practical process for catching those problems before release?
https://redd.it/1xsfv9w
@r_Unity3D
I used Unity's Particle System to give my Water character a constantly flowing head
https://redd.it/1xs2zpq
@r_Unity3D
Concave wave inside volume
https://redd.it/1xsagtq
@r_Unity3D
Peelable Sticker system
https://redd.it/1xs8kcy
@r_Unity3D
Taking a lil' boat ride in my open world mushroom picking game that takes place in a reimagined Iceland!
https://redd.it/1xs4dmt
@r_Unity3D
Neat cigar smoke effect done with Unity's VFX graph and EmberGen
https://redd.it/1xs2isw
@r_Unity3D
How is it look of my game's atmosphere?
https://redd.it/1xrxd32
@r_Unity3D
I know water shaders are an old topic, but here is mine
https://redd.it/1xrvy8d
@r_Unity3D
Prototype: What do you think?
https://redd.it/1xrrzpy
@r_Unity3D
Spatial Audio for GigaLights so Unity AudioSources sound like they’re actually supposed to.
https://youtu.be/8e8V5kCHP-E
https://redd.it/1xrpcjx
@r_Unity3D
Flickering or no depth? Perspective vs orthographic camera in my 3D pixel art game, any advice?
https://redd.it/1xr5xno
@r_Unity3D
First footage of my modern military FPS in Unity 6 + URP, before our playtest
https://youtu.be/iQ0TdmBDDRU
https://redd.it/1xrhjkn
@r_Unity3D
Added base building to our Survival-Roguelike game, and just had to snap this cozy scene. What do you guys think?
https://redd.it/1xrj4wt
@r_Unity3D
Testing game mechanics....
https://redd.it/1xr6rlc
@r_Unity3D
Aliquo Die - Visual style in Unity
https://redd.it/1xsfpj2
@r_Unity3D
Lighting up a voxel city with nothing but glowing lines in Unity
https://redd.it/1xse4tb
@r_Unity3D
I made a sheep-shearing mechanic in Unity. Here’s how it looks in Shear It! 🐑
https://redd.it/1xs7f8e
@r_Unity3D
We’ve launched The Rusted, our indie action puzzle platformer
https://redd.it/1xs91jn
@r_Unity3D
I wanted to share my 6 month development process, here are some Levels from my game. Do you have any suggestions regarding the light?
https://redd.it/1xs5c67
@r_Unity3D
It's uncanny to see anti-aliasing in the scene view of Unity, after 10 years of using it daily.
https://redd.it/1xs10xw
@r_Unity3D
Does my game look too ugly? Will this art style cut it for casual Web target?
https://redd.it/1xs1l5d
@r_Unity3D
Tip: you don’t need to model construction stages. One clip shader builds all 111 of my buildings
https://redd.it/1xrwn4t
@r_Unity3D
WIP of my Unity game jam submission
https://redd.it/1xrszwf
@r_Unity3D
The Asset Store now supports paid UPM packages
https://redd.it/1xrox60
@r_Unity3D
When you bomb in my comedy deckbuilder, the crowd lets you know
https://redd.it/1xr01y6
@r_Unity3D
The first mission in my helicopter support game. Burn aliens to the ground and conquer the island!
https://redd.it/1xqllk7
@r_Unity3D
HybridCLR gotchas: things that only break on device when hot-updating C# in IL2CPP builds
If you use HybridCLR to hot-update C# code in IL2CPP builds (download new game code without a store update), here are the things that cost us the most time. None of them show up in Play mode, because in the Editor your hot-update DLLs are just normal assemblies, so always test on a real device.
1. [RuntimeInitializeOnLoadMethod] in a hot-update assembly never runs.
Unity collects these attributes at build time, only from assemblies that are part of the player. Your hot DLL is loaded later, so Unity never knows about them. Call your init code explicitly right after you load the DLL.
2. Generics over value types need supplementary metadata.
Things like List<MyStruct> or Dictionary<int, X> that weren't instantiated in AOT code will fail on device with a missing method or ExecutionEngineException. Load the AOT DLLs' metadata with RuntimeApi.LoadMetadataForAOTAssembly before you run any hot code, and re-run the Generate step after changes so the AOT generic references stay current.
3. Stripping removes engine code that only hot code uses.
If only your hot DLL calls some Unity API, the linker strips it from the player. HybridCLR can generate a link.xml for this, keep it in the build. If that list changes, you need a new app build: a bundle update can't bring stripped code back.
4. Know which changes need which build.
Hot code change: rebuild the DLL bundle. AOT code, stripping or player settings change: new app build. We added a check to the build pipeline that refuses to build when the DLLs in the bundles don't match the current code. It is a cheap way to avoid shipping stale code.
5. Be careful with the IL2CPP "Optimize Size" code generation option.
Switching to it made our hot-updated game fail to start on device. If you want to try it for a smaller build, test the full hot-update path on a device first.
6. Case-sensitive paths.
Asset paths that work in the Editor on Windows/macOS can fail on Android/iOS if the casing differs. Worth a quick audit script before release.
Happy to answer questions if anyone is setting this up.
https://redd.it/1xrj157
@r_Unity3D
4 years ago I posted here that I was releasing a playtest soon... I vastly underestimated the workload ahead of me... Today I can finally say, the game is released in early access and it feels soooo good.
https://redd.it/1xrikoh
@r_Unity3D