Compile error 'onesky' was missing

Hello,

I’ve been having problem compiling my Source code Including the substance Plugin. I’ve succeslfully generatedProjectfiles and loaded them into Visual Studio. Gave it time to get ready. Then i built the solution. I got an entire problem with the ‘onesky’ and ‘onesky’ service.

Here are the errors->
Error 1 The type or namespace name ‘OneSky’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\LauncherLocalization.Automation.cs 9 7 AutomationScripts.Automation
Error 2 The type or namespace name ‘OneSky’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\Localisation.Automation.cs 10 7 AutomationScripts.Automation
Error 3 The type or namespace name ‘OneSkyService’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\Localisation.Automation.cs 15 43 AutomationScripts.Automation
Error 4 The type or namespace name ‘ProjectGroup’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\Localisation.Automation.cs 15 72 AutomationScripts.Automation
Error 5 The type or namespace name ‘ProjectGroup’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\LauncherLocalization.Automation.cs 93 17 AutomationScripts.Automation
Error 6 The type or namespace name ‘OneSkyService’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\LauncherLocalization.Automation.cs 93 47 AutomationScripts.Automation
Error 7 The type or namespace name ‘OneSky’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\LauncherLocalization.Automation.cs 106 17 AutomationScripts.Automation
Error 8 The type or namespace name ‘OneSkyService’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\LauncherLocalization.Automation.cs 106 46 AutomationScripts.Automation
Error 9 The type or namespace name ‘UploadedFile’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\LauncherLocalization.Automation.cs 123 44 AutomationScripts.Automation
Error 10 The type or namespace name ‘ProjectGroup’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\Localisation.Automation.cs 125 20 AutomationScripts.Automation
Error 11 The type or namespace name ‘OneSkyService’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\Localisation.Automation.cs 125 49 AutomationScripts.Automation
Error 12 The type or namespace name ‘OneSky’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\Localisation.Automation.cs 138 20 AutomationScripts.Automation
Error 13 The type or namespace name ‘OneSkyService’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\Localisation.Automation.cs 138 46 AutomationScripts.Automation
Error 14 The type or namespace name ‘UploadedFile’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\Localisation.Automation.cs 155 47 AutomationScripts.Automation
Error 15 The type or namespace name ‘OneSky’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\LauncherLocalization.Automation.cs 159 39 AutomationScripts.Automation
Error 16 The type or namespace name ‘OneSky’ could not be found (are you missing a using directive or an assembly reference?) E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Scripts\Localisation.Automation.cs 191 42 AutomationScripts.Automation
Warning 17 Could not resolve this reference. Could not locate the assembly “OneSky”. Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. AutomationScripts.Automation
Error 18 ‘Project’ does not contain a definition for ‘WriteStageCommandline’ E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Source\Programs\AutomationTool\Android\AndroidPlatform.Automation.cs 567 11 Android.Automation
Warning 19 Could not resolve this reference. Could not locate the assembly “OneSky”. Check to make sure the assembly exists on disk. If this reference is required by your code, you may get compilation errors. Android.Automation
Error 20 error LNK1181: cannot open input file ‘icudt.lib’ E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Intermediate\ProjectFiles\LINK UE4
Error 21 error : Failed to produce item: E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Binaries\Win64\UnrealHeaderTool-Core.dll E:\Downloads\Go\UnrealEngine\Test2\Engine\Engine\Intermediate\ProjectFiles\ERROR UE4
Error 22 error MSB3073: The command “…\Build\BatchFiles\Build.bat UE4Editor Win64 Development” exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 UE4
Warning 23 The referenced component ‘OneSky’ could not be found. AutomationScripts.Automation
Warning 24 The referenced component ‘OneSky’ could not be found. Android.Automation

No idea why this happend as i got no error while doing all other steps.
I have downloaded all Required packs and the optional pack, and the Substance release.

Does someone have an idea on this?

Kind regards,
Celeste

Hey Celeste -

I am sorry you are having this difficulty. Please let me know what version of the engine you are using as well as what version of Visual Studio you are compiling with? Also, are you correctly pulling the Allegorithmic version from https://github.com/allegorithmic/UnrealEngine You should only need to pull from this one repository for the engine and the plugin together.

Thank You

Eric Ketchum

Hey Eric!

I’ve downloaded the sourcec ode about 10h ago. And i’m using 4.7.2 of Unreal. Aswell using Visual Studio 12.0.31101.00 Update 4.

With kind regards,
Celeste

Sorry, i was still in an old version of your comment. I’ve pulled the Allegorithmic version from Their Github, as the link you provided. However the tutorial said i needed all 3 dependencies from UE4 Repository in order for it to work.

Kind regards,
Celeste

Hey Celeste -

I think I know what the problem is. The directions you are referencing are a little out of date with the newest build of the engine and how we are using the GitHub Currently. All you need to do now is pull the engine source from the Allegorithmic repository as a zip, extract the files to a directory of your choice, run the Setup.bat file which will automatically download and install all needed dependencies (this takes the place of downloading the 3 zips) and then generate the Project Files and Compile as usual.

Let me know if this does not fix your issue -

Thank You

Eric Ketchum

Hey there!

I tried as you said and every step worked. However, now when i import the plugin into my plugins folder of my project it tells me to “rebuild” it. I downloaded the latest plugin from → Substance Plugin 4.7.0.5 Released

When i press rebuild it tells me to do it manually. Does this occur often?

Or am i doing this wrong?

With kind regards,
Celeste!

Hey CelPlays -

You should only need to compile from the Source location in Github and open that version of the engine no additional downloads are needed. The Binaries are used for the Launcher version of the engine which when placed in the correct version (4.7.0 currently) would require a single recompile. You should not need to add any additional folders to your Project Folder. I am working on trying to make an instructional guide with more details than Allegorithmic currently has available I will post back here with a link as soon as I am done.

Thank You

Eric Ketchum

So all i need to do is Get the Allegorithmic source, run Setup.bat to get the files, Then generate the project files, then open in Visual studio, let it build and open the editor from the binaries in that compiled folder?

That’s what i just did and i still can’t import .sbsar files.

Either i’m doing something wrong or my computer is working against me ;-;
I’m sorry if it’s frustrating that it’s still not working. And yes a simplified tutorial would indeed come in handy :slight_smile:

Regards,
Celeste

Hey Celeste -

I am very sorry you are having so many problems. Take a look at this new Tutorial I wrote in our Wiki and see if you can follow these directions and get the Plug-In working for you. I would suggest starting from scratch when you go through these instructions.

Let me know if you are confused by anything or if you are still unsuccessful.

Eric Ketchum

Yup that did it. No idea why Allegorithmic made it that complicated if you can just do this :slight_smile:
Sorry for the late reply!