Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Compilation issues for iOS with a scene containing generators
#1
Hi

I have a scene containing mesh generators and for some reason when compiling on iOS it seems to be failing because it is looking for editor classes, as per the errors below. 

When I remove the curvy generator / tracks it compiles without the issues below.

Any ideas/suggestions much appreciated Smile


thanks 

Nalin




-----CompilerOutput:-stdout--exitcode: 1--compilationhadfailure: True--outfile: Temp/Plugins.dll
Microsoft ® Visual C# Compiler version 3.5.0-dev-20359-01 (8da8ba0c)
Copyright © Microsoft Corporation. All rights reserved.

Assets/Plugins/Curvy/Base/Editor/CG Modules/BuildVolumeSpotsEditor.cs(17,7): error CS0246: The type or namespace name 'UnityEditorInternal' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG Modules/InputGameObjectEditor.cs(14,7): error CS0246: The type or namespace name 'UnityEditorInternal' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG Modules/InputMeshEditor.cs(14,7): error CS0246: The type or namespace name 'UnityEditorInternal' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG Modules/InputSpotsEditor.cs(13,7): error CS0246: The type or namespace name 'UnityEditorInternal' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG/CGGraph.cs(17,19): error CS0234: The type or namespace name 'AnimatedValues' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG/CGModuleEditor.cs(17,19): error CS0234: The type or namespace name 'AnimatedValues' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/Components/GLCurvyRendererEditor.cs(14,7): error CS0246: The type or namespace name 'UnityEditorInternal' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CurvySplineSegmentEditor.cs(19,7): error CS0246: The type or namespace name 'UnityEditorInternal' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/DevTools/Editor/DTEditor.cs(14,7): error CS0246: The type or namespace name 'UnityEditorInternal' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/DevTools/Editor/DTEditor.cs(15,19): error CS0234: The type or namespace name 'AnimatedValues' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets/Plugins/DevTools/Editor/DTEditorClasses.cs(15,19): error CS0234: The type or namespace name 'AnimatedValues' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets/Plugins/DevTools/Editor/DTEditorClasses.cs(16,7): error CS0246: The type or namespace name 'UnityEditorInternal' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/DevTools/Editor/EditorData.cs(10,19): error CS0234: The type or namespace name 'AnimatedValues' does not exist in the namespace 'UnityEditor' (are you missing an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/AboutWindow.cs(18,32): error CS0246: The type or namespace name 'EditorWindow' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/DevTools/Editor/DTEditor.cs(21,32): error CS0246: The type or namespace name 'Editor' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/DevTools/Editor/Components/ComponentPoolEditor.cs(14,6): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/DevTools/Editor/Components/ComponentPoolEditor.cs(14,6): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG Modules/BuildRasterizedPathEditor.cs(16,6): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG Modules/BuildRasterizedPathEditor.cs(16,6): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/Components/GLCurvyRendererEditor.cs(19,6): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/Components/GLCurvyRendererEditor.cs(19,6): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG Modules/BuildShapeExtrusionEditor.cs(17,6): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG Modules/BuildShapeExtrusionEditor.cs(17,6): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/Controllers/CurvyControllerEditor.cs(51,37): error CS0246: The type or namespace name 'PlayModeStateChange' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/Controllers/MoveModeDrawer.cs(15,35): error CS0246: The type or namespace name 'PropertyDrawer' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG Modules/BuildVolumeCapsEditor.cs(17,6): error CS0246: The type or namespace name 'CustomEditorAttribute' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/CG Modules/BuildVolumeCapsEditor.cs(17,6): error CS0246: The type or namespace name 'CustomEditor' could not be found (are you missing a using directive or an assembly reference?)
Assets/Plugins/Curvy/Base/Editor/Controllers/MoveModeDrawer.cs(14,6): error CS0246: The type or namespace name 'CustomPropertyDrawerAttribute' could not be found (are you missing a using directive or an assembly reference?)
Reply
#2
Ok, not sure what caused the issue but I have found a workaround.

Essentially my project was using assembly definitions, and I had not set up Curvy's assembly definitions. After I did set these up, I added the dependencies specifically so that none of the curvy editor classes would be included in the project build, and the errors magically went away.

Hope this helps someone else Smile
Reply
#3
This is weird. Editor scripts are normally automatically stripped from the build by Unity. Are you using asmdefs? If so, removing them solves the issue? If not, do you have other editor scripts (in any folder named Editor) in your project? Try making an editor script that references the namespace UnityEditorInternal and see if it builds or not.
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
Bug Issues when working with in-place prefabs Sacryn 4 6 02-27-2024, 04:08 PM
Last Post: _Aka_
Question Generator Canvas workflow issues Sacryn 1 7 02-02-2024, 11:22 PM
Last Post: _Aka_
Lightbulb issues with the shader in URP sukhov 4 8 11-22-2023, 12:52 PM
Last Post: _Aka_
  Curvy Splines Built In Editor Undo causes issues. Lupos 1 9 10-02-2023, 08:52 AM
Last Post: _Aka_

Forum Jump: