im trying to put my game in a build, however, some sprites arnt rendering, mostly things that dont collide, im the scene and game view they are visible, but in the build they arnt, here are screenshots of the views and build settings
Edit: im also using cinemachine
Edit 2: it seems that the only things that dont show are things with sprite shape controllers and sprite shape renderers.
I cant think of what to try, since it shouldn't change from editor to build.
my problem was that the profile on the sprite shape renderer didnt have a profile set.
You can check the log of the build. Go to: C:\Users\<YourUser>\AppData\LocalLow\<Company-Name-Set-In-Unity>\<Project-Name-Set-In Unity>
. There should be a file called output_log.txt
.
Open that file to see if your build has potential issues to solve. E.g. you are using the wrong path only valid for the editor but not a build (https://docs.unity3d.com/ScriptReference/Application-dataPath.html)