Compilation errors in Unity Cloud, but not in Editor

Announcements, support questions, and discussion for the Dialogue System.
Post Reply
samcsss
Posts: 9
Joined: Thu Sep 17, 2015 6:06 am

Compilation errors in Unity Cloud, but not in Editor

Post by samcsss »

I'm running into quite a strange problem that I'm hoping others might have seen.

When compiling in Unity Cloud (for Win) I'm getting about 18 errors in the Dialogue System code relating to namespaces
The strange thing is thing is these errors don't appear when compiling with the editor.

I suspect its possibly a problem with Cloud, but is this known and is there a workaround I could do by editing the Dialogue System code (so far I haven't found one).

Here is the output log from Cloud
1: No Library cache found - ALL assets will be re-imported.
2: [Unity] Initialize engine version: 5.2.0f3 (e7947df39b5c)
3: [Unity] -----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Assembly-CSharp.dll
4: [Unity] Compilation failed: 18 error(s), 0 warnings
5: [Unity] Assets/Dialogue System/Examples/Feature Demo/FeatureDemo.cs(3,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
6: [Unity] Assets/Dialogue System/Scripts/Supplemental/Sequencer Commands/SequencerCommandLoadLevel.cs(15,50): error CS0246: The type or namespace name `SequencerCommand' could not be found. Are you missing a using directive or an assembly reference?
7: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Bark UI/UnityUIBarkUI.cs(12,53): error CS0246: The type or namespace name `IBarkUI' could not be found. Are you missing a using directive or an assembly reference?
8: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIAlertControls.cs(13,45): error CS0246: The type or namespace name `AbstractUIAlertControls' could not be found. Are you missing a using directive or an assembly reference?
9: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIDialogueUI.cs(27,42): error CS0246: The type or namespace name `AbstractDialogueUI' could not be found. Are you missing a using directive or an assembly reference?
10: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIDialogueControls.cs(13,48): error CS0246: The type or namespace name `AbstractDialogueUIControls' could not be found. Are you missing a using directive or an assembly reference?
11: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIQTEControls.cs(11,43): error CS0246: The type or namespace name `AbstractUIQTEControls' could not be found. Are you missing a using directive or an assembly reference?
12: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIResponseMenuControls.cs(15,52): error CS0246: The type or namespace name `AbstractUIResponseMenuControls' could not be found. Are you missing a using directive or an assembly reference?
13: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIRoot.cs(11,36): error CS0246: The type or namespace name `AbstractUIRoot' could not be found. Are you missing a using directive or an assembly reference?
14: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUISubtitleControls.cs(13,48): error CS0246: The type or namespace name `AbstractUISubtitleControls' could not be found. Are you missing a using directive or an assembly reference?
15: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUITextFieldUI.cs(13,58): error CS0246: The type or namespace name `ITextFieldUI' could not be found. Are you missing a using directive or an assembly reference?
16: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Quest Log Window/UnityUIQuestLogWindow.cs(15,46): error CS0246: The type or namespace name `QuestLogWindow' could not be found. Are you missing a using directive or an assembly reference?
17: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Quest Log Window/UnityUIQuestTracker.cs(6,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
18: [Unity] Assets/Dialogue System/Scripts/Supplemental/Utility/ProximitySelector.cs(4,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
19: [Unity] Assets/Dialogue System/Scripts/Supplemental/Utility/QuestTracker.cs(4,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
20: [Unity] Assets/Dialogue System/Scripts/Supplemental/Utility/Selector.cs(3,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
21: [Unity] Assets/Dialogue System/Scripts/Supplemental/Utility/SelectorFollowTarget.cs(4,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
22: [Unity] Assets/Scripts/UI/WordButton.cs(4,12): error CS0234: The type or namespace name `Data' does not exist in the namespace `Mono'. Are you missing an assembly reference?
23: [Unity] Assets/Dialogue System/Examples/Feature Demo/FeatureDemo.cs(3,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
24: [Unity] Assets/Dialogue System/Scripts/Supplemental/Sequencer Commands/SequencerCommandLoadLevel.cs(15,50): error CS0246: The type or namespace name `SequencerCommand' could not be found. Are you missing a using directive or an assembly reference?
25: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Bark UI/UnityUIBarkUI.cs(12,53): error CS0246: The type or namespace name `IBarkUI' could not be found. Are you missing a using directive or an assembly reference?
26: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIAlertControls.cs(13,45): error CS0246: The type or namespace name `AbstractUIAlertControls' could not be found. Are you missing a using directive or an assembly reference?
27: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIDialogueUI.cs(27,42): error CS0246: The type or namespace name `AbstractDialogueUI' could not be found. Are you missing a using directive or an assembly reference?
28: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIDialogueControls.cs(13,48): error CS0246: The type or namespace name `AbstractDialogueUIControls' could not be found. Are you missing a using directive or an assembly reference?
29: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIQTEControls.cs(11,43): error CS0246: The type or namespace name `AbstractUIQTEControls' could not be found. Are you missing a using directive or an assembly reference?
30: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIResponseMenuControls.cs(15,52): error CS0246: The type or namespace name `AbstractUIResponseMenuControls' could not be found. Are you missing a using directive or an assembly reference?
31: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUIRoot.cs(11,36): error CS0246: The type or namespace name `AbstractUIRoot' could not be found. Are you missing a using directive or an assembly reference?
32: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUISubtitleControls.cs(13,48): error CS0246: The type or namespace name `AbstractUISubtitleControls' could not be found. Are you missing a using directive or an assembly reference?
33: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Dialogue UI/UnityUITextFieldUI.cs(13,58): error CS0246: The type or namespace name `ITextFieldUI' could not be found. Are you missing a using directive or an assembly reference?
34: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Quest Log Window/UnityUIQuestLogWindow.cs(15,46): error CS0246: The type or namespace name `QuestLogWindow' could not be found. Are you missing a using directive or an assembly reference?
35: [Unity] Assets/Dialogue System/Scripts/Supplemental/UI/Quest Log Window/UnityUIQuestTracker.cs(6,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
36: [Unity] Assets/Dialogue System/Scripts/Supplemental/Utility/ProximitySelector.cs(4,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
37: [Unity] Assets/Dialogue System/Scripts/Supplemental/Utility/QuestTracker.cs(4,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
38: [Unity] Assets/Dialogue System/Scripts/Supplemental/Utility/Selector.cs(3,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
39: [Unity] Assets/Dialogue System/Scripts/Supplemental/Utility/SelectorFollowTarget.cs(4,36): error CS0234: The type or namespace name `UnityGUI' does not exist in the namespace `PixelCrushers.DialogueSystem'. Are you missing an assembly reference?
User avatar
Tony Li
Posts: 22056
Joined: Thu Jul 18, 2013 1:27 pm

Re: Compilation errors in Unity Cloud, but not in Editor

Post by Tony Li »

I'm borrowing DOTween's FAQ answer because it's the most likely:
This can happen because GIT is often set to ignore DLL files, and thus it doesn't upload them to Unity Cloud. Be sure to enable DLL versioning and everything will work.

P.S. as VeTaL notes, sometimes that nasty guy is hidden in gitignore_global.txt (on Windows the file is in %USERPROFILE%\.gitignore_global, in Mac it's in ~/.gitignore_global). In line 22, there's ".dll", so adding "#" at the beginning of the line fixes the issue.
If that doesn't help, please let me know.
samcsss
Posts: 9
Joined: Thu Sep 17, 2015 6:06 am

Re: Compilation errors in Unity Cloud, but not in Editor

Post by samcsss »

yep, actually discovered that before the post went up
DLLs were being ignored by the GIT repo
Just waiting for cloud to rebuild, but I expect this will solve my problem.
Thanks.
Post Reply