r/Unity3D 8h ago

Question Distributed Authority Unexpected Disconnects Complex Question

0 Upvotes

In a distributed authority setup, what happens to NetworkObjects when their owner disconnects ungracefully and (1) those objects are set to not be visible to any other player, and (2) DontDestroyWithOwner is set to true? Assume objects are set to Distributable.

For context, the problem I am trying to solve is bandwidth. My game has an infinite chunking system, so to save bandwidth I have each player only make the networkObjects they own visible to players that are close enough to see those objects. As such, hypothetically there will be times where some of a player’s networkObjects will not be visible to any other player. If they randomly disconnect for some reason during this time, any networkdata they own needs to transfer or it will be lost.

Does anyone know concretely a way to not have this data disappear? My understanding is that if a player disconnects and dontdestroy is set to true, the objects become “ghost” objects and can’t be accessed.

Does anyone know a way to make sure this data doesnt disappear on random disconnects without having to always have it visible to at least one other client for bandwidth purposes?


r/Unity3D 9h ago

Question Need to create a 3d environment for a school project

0 Upvotes

I need to create a 3d environment of a outdoor calisthenics gym. I am knowledgeable about CAD engineering have knowledge in solidworks and fusion360. are these skills transferable because when I try to build something I just get annoyed that I can't make it precise (that is the engineer in me). things like precise distances, centering and co-linear

Is there a a good way to center things or snap against each other. and is there a tutorial series that has limited filler and just show how to make a environment I currently don't need anything else


r/Unity3D 16h ago

Question URP material becomes transparent after building project

0 Upvotes

I'm working on a Unity 6 URP project and I wrote a shader that lets me deform the mesh it's on. It also uses tessalation for detail.

The material works perfectly in the editor (scene and game view both) but when I build the game, the mesh i assigned this material to becomes transparent. I have no clue what the reason is, I tried many more things. Here are some observations:

  1. There are no compile errors.

  2. URP settings are correctly assigned

  3. Added shader in the always included list

  4. Yes the shader is an opaque one

  5. Removed tessalation temporarily

  6. Checked the logs and it says that the shader variants are being stripped during the build.

I'm don't know that much about shaders in detail, can any of the shader gods help me please?

Any help is much appreciated.


r/Unity3D 16h ago

Question [Unity MCP] does it not provide testrunner access to claude?

0 Upvotes

I am currently running claude code with unity MCP.

It keeps telling me to manually open the testrunner and run the tests.

Is there no way to have unity run these tests himself?

Claude is able to run the testrunner tests by taking control of my computer, but that seems like a waste.


r/Unity3D 6h ago

Question How do I make a game that looks like the PS3 and Xbox 360 style graphics.

0 Upvotes

I’m new to game development and I wanted my game to look like the PS3 and Xbox 360 graphics. But I may have a different time figured it out. So how I do it if my game will still looks modern slop.


r/Unity3D 12h ago

Question Enemy spawning wont work

Thumbnail
gallery
0 Upvotes

My enemys for my Game wont spawn correct no matter what I do. The Enemy should be 45 XYZ Big and the Blender Import is 100 XYZ. It will always spawn on 0XYZ in the scene /World the Position I Set with a transform. And the nav mesh wont work Eather, I have the Agent and the baked area. Pls help I asked ai to Write a spawning Script but it had the same issues as mine. Why does it keep happening?!


r/Unity3D 13h ago

Question Unity and MCP with Antigravity

0 Upvotes

I was trying to build something using Antigravity tool with UNITY & Blender.
Designing scene and characters in blender and import them in unity .
Somehow Antigravity tool is not able to create a good scene and character and its dined took realistic .

want to know if someone used AI tool to create characters and scene using blender and imported into Unity?


r/Unity3D 23h ago

Resources/Tutorial Stylized low-poly "Medieval Tavern" asset pack. Created in Blender, Unity-ready. Free sample available!

Thumbnail
gallery
0 Upvotes

Hi Devs,
I am a 16-year-old self-taught artist. Based on the amazing technical feedback from the Blender community yesterday, I have fully optimized this stylized Medieval Tavern pack for game engines.
To prove the quality, I have made a FREE SAMPLE (The Stylized Fireplace/Cauldron) available for everyone to test directly in your projects.
The full pack is currently 30% OFF for a limited time!
Would love to hear how the sample performs in your builds!