question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The build doesn't build the scene

See original GitHub issue

It builds ok in windows manually, but when i try to build with this action:

image

How can i know what’s happening?

I think its not building the scenes, because the build its 20mb and the one that i build in windows its > 60mb

image

/github/workspace/./ogirdor/game
-buildTarget
StandaloneWindows64
-customBuildTarget
StandaloneWindows64
-customBuildPath
/github/workspace/build/StandaloneWindows64/StandaloneWindows64.exe
-executeMethod
UnityBuilderAction.Builder.BuildProject
-versioning

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:18 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
marce1994commented, Jun 25, 2020

ok i made it, it works with a new empty project. So i find out that i was setting wrong the projectPath, i was using {reporootname}/{subfolder} and it works with just setting the {subfolder}.

So let it as projectPath: game and it worked. @Jodebu try with it xD.

Now i’m getting another problem more related to the project. maybe you may have an idea why.

4_Unity - Builder.txt

the only thing i can rescue inside the logs: '' is an incorrect path for a scene file. BuildPlayer expects paths relative to the project folder.

2reactions
webbertakkencommented, Jun 24, 2020

The root of your repository is the root of your github workspace during the action (if you don’t customize the checkout process).

So all you have to do if you Unity project is in the folder myGame is use that as the project path. same for subpaths: my/nested/folder/game.

If you’re just starting off it’s probably a good idea to have your project in the root of your repository and that you leave the settings to their defaults.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unity 2019.2 build stuck on scene 0 - Unity Answers
What Make this case is Very Strange: 1)I have tried to create a new blank scene and remove all other scenes but still...
Read more >
Multi-scene launching of build, as is, from Unity, how?
1. Getting the editor scenes into the build settings. First for collecting the settings you can use an editor script using.
Read more >
Explore building scene layers—ArcGIS Online Help
The state of the layer visibility settings is preserved in the Building explorer tool. When a building scene layer doesn't include an overview...
Read more >
Don't build scenes around the information you think you need ...
The story doesn't really get going until later on. These scenes are inevitably stultifying because nothing is actually happening that ...
Read more >
Building your WebGL application - Unity - Manual
Build Folder · Name Files As Hashes in the · Player Settings, Unity uses the hash of the file content instead of the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found