Missing Library folder in Unity

Hi I have a Unity project with build configuration setted up for few branches in Git.

All branch have own checkout directory & own VCS root.
A Librarys folder is added to gitignore.
At 3 branches compilation work fine - there is no library folder missing issue but on another branch library folder missing due to unnknow issue. No clean checkout performed at this or last build & there was no changes in any teamcity settings or in repository paths.
I don't use Unity build plugin because i have to add some scripts to build pipeline that i can't set up in Unity build for teamcity.

I run build by .bat file. (Commands below)

cd /d "C:\Program Files\Unity\Hub\Editor\2020.3.21f1\Editor"
Unity.exe -logFile - -quit -batchmode -projectPath "<ProjectPath>" -executeMethod MyEditorScript.PerformBuild

 

Method : 

 

using UnityEditor;
using UnityEditor.AddressableAssets;
using UnityEditor.AddressableAssets.Settings;
using UnityEngine;

public class MyEditorScript
{
      static void PerformBuild()
     {
         

        <Some custom script - i',m sure this don't cause issue>
         var Path = $"D:/Builds/NonZipped/{Application.productName}/{Application.productName}.exe";
         string[] scenes = <Scenes array declaration>
         BuildPipeline.BuildPlayer(scenes, Path , BuildTarget.StandaloneWindows64, BuildOptions.None);
         
     }
}


I don't thing i can send more from those files due to company rules.

If there will be needed any forward data i can send it, but i have no idea why this is happening.

0
1 comment

Hello,

In order for us to check what might be going wrong, can you please share with us:

-The VCS root configuration screenshot(s), including the branch specification;

-Build logs of the working and not working branches.

Please share them via our upload service below and share the id with us.

https://uploads.jetbrains.com/

Thank you,

Guilherme

 

0

Please sign in to leave a comment.