Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Build bug coming from the editor [>Solved]

Discussion in 'General Discussion' started by Deceleris, Jan 8, 2020.

  1. Deceleris

    Deceleris

    Joined:
    Jan 3, 2018
    Posts:
    21
    Hello everyone !

    I was excited to build my game, but unity was not agree with that. The game works perfectly on the editor, but when I build, I got a lot of weird bugs :

    - my computer is exploited to the maximal by the game
    - the game cursor appear glitched (set in the player settings)
    - some of the textures don't appear, like some of the texts, but not each of them
    - the ground appear in an over smoothed bi-linear rendering instead of pixelated one

    The only solution I've find is... create a new project and past on it all the assets BUT I need to set manually ALL the sorting layer etc and... that's gonna take me a LOT of time
    I'm using the LWRP and the new 2D light system, but this is the first time I cant build a game...

    I can upload pictures of the changes after the build, but that's just I've said, texts disappear and textures looks smooth :l

    [EDIT]

    => I've solved the bug by... changing the company name :l
    In fact I don't really know why, but after knowing the issue, I've deleted the locallow data files and re set my true company name, and it works.
     
    Last edited: Jan 9, 2020
  2. angrypenguin

    angrypenguin

    Joined:
    Dec 29, 2011
    Posts:
    15,509
    First of all, this is the wrong area. "General Discussion" is specifically not a support forum, as stated in its description. In future you should post this stuff in the most relevant forum section.

    Do you mean that CPU usage etc. goes to 100%? This is standard for how games run unless you put a limit on it, such as vsync.

    Check your quality settings. Past that, we need screenshots. "Glitched" could mean lots of things, "smoothed" could have many causes, and so on.

    Details matter, and you're not providing many.
     
  3. Deceleris

    Deceleris

    Joined:
    Jan 3, 2018
    Posts:
    21
    Thanks for reply !
    Yeah sorry, the first time I post on this forum, I don't really know where to post it .

    I've never put limits on all of my games and that's the first time I have this. It's like when you have a massive world generation in real time, but even if nothing happen in the game.

    You're welcome ;)

    Here the quality settings :
    Capture.PNG

    Here how the game should look, that's in the editor :
    Annotation 2020-01-09 091502.png

    And here what I have after building :
    Annotation 2020-01-09 091708.png

    The ground texture look now smooth.
    In game, the player movement is REALLY slow, but the player dash still at the same speed wtf ._.
    I cant' screen shot the cursor but, it's like a "checkerboard of white pixels".
    All of my editor settings are the defaults, I didn't touch anything.

    So, waiting for a solution, I'm gonna make some researches and start recreating the game projet :l