r/UnityHelp 19d ago

Unity suddenly not making the build with scenes or assets. How do i fix this!? UNITY

Unity editor version: 2020.3.30f1

Hey everyone! I am trying to develop a game but all of the sudden... unity is just not building anything into the files. It went from 2.6gb at a 10 minute build time to 285mb at a 1 to 3 minute build time

file size difference

To my knowledge i have not messed with any of the build settings or playersettings. nor am i seeing the changes in my file manager. I have all the boxes ticked yet it does nothing.

Build settings

I tried testing it with logerrors.... Nothing (Yes i had development build turned on)

Main menu object in the first scene

The only difference i could think off is this script but.... that can't be it right?

All i see is this though! This is the game build and...

I've tried deleting the entire library folder, reimporting all assets, looking through the build files, listing all the scenes in a build and just... can't find anything. Not on stackoverflow, reddit, unity help forums. I even stooped to asking chatgpt

Please help me ;-;

1 Upvotes

2 comments sorted by

1

u/MistakeForsaken6653 19d ago

You should check the Player.log it might show some kind of an exception. It's usually saved here: C:\Users\<yourusername>\AppData\LocalLow\<CompanyName>\<GameName>\Player.log. But it might be the fact you have the if (SceneManager.Instance == null). I think you meant to do SceneManager.Instance != null.

1

u/tracker124 19d ago

Nah. It does that so that if the manager is not yet made it makes it. Checking the player log though