- Home /
Is it possible to adjust Unity BuildTools files during an Unity Cloud Build
In our project we had to adjust some code in the Unity BuildTools folder to fix some dpi problems we got in the webgl build. We had to adjust the following file: [UNITY_PATH]\Editor\Data\PlaybackEngines\WebGLSupport\BuildTools\lib\SystemInfo.js
We would like to use the Unity cloud build service, but our question is: are we able to adjust those Unity files during an cloud build?
Answer by gjf · Oct 04, 2019 at 12:48 PM
Short answer: yes.
https://docs.unity3d.com/Manual/UnityCloudBuildPreAndPostExportMethods.html
@gjf Yes I know about those methods. With those you can adjust anything within your project. But as far as I can see I can not adjust Unity BuildTools files.
If you know where the file is, it should be possible to modify it. I've used the PreExport stuff to inject build numbers into source files, etc. so as long as it exists when the method is called, you should be able to.
I don't use the BuildTools stuff but it's quick to test whether the file exists or not.
Your answer
Follow this Question
Related Questions
Cloud Built WebGL Stopped working 0 Answers
Random Unrelated Exceptions thrown in WebGL Build (unity 2018) 1 Answer
Using Azure in WebGL build but does not call Azure Methods 0 Answers
WebGl build keeps failing 0 Answers
Cloud recognition in Vuforia 0 Answers