Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Building error! am I something wrong?
#1
Hi,

in the editor everything works,  but if I try to build the example scece I have  these errors

Assets / Plugins / Curvy / Controllers / CurvyController.cs (1100.17): error CS0103: The name 'EditorApplication' does not exist in the current context

Build completed with a result of 'Failed'
UnityEditor.EditorApplication: Internal_CallGlobalEventHandler ()

.... how can I export the ?


Thanks
Reply
#2
Hi,

Sorry for this regression. I'll take a deeper look at this tomorrow at work, but from a first look, you can fix this by surrounding the editorUpdate method with a #if UNITY_EDITOR block


Code:
#if UNITY_EDITOR
       private void editorUpdate()
       {
         ...
       }
#endif

I will write here again to confirm this solution

Have a nice day
Please consider leaving a review for Curvy. This will help a lot keeping Curvy relevant in the eyes of the Asset Store algorithm.
Reply
#3
I confirm the solution. I added it to the known issues https://forum.curvyeditor.com/thread-514-post-2295.html#pid2295
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
  The wheels are in the wrong position Kawas 1 8 01-10-2022, 11:23 AM
Last Post: _Aka_
  DT Singleton Instance was null error Rick76 3 345 10-07-2021, 05:59 PM
Last Post: _Aka_
  Whitespace error in UITextSplineController kasai@cadcenter 4 704 07-09-2021, 09:07 AM
Last Post: _Aka_
  Error while making prefab having curvy Generator script User2200 3 1,187 03-15-2021, 07:16 PM
Last Post: _Aka_

Forum Jump: