Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

Discussion in 'Editor & General Support' started by akenaton, Jan 29, 2018.

  1. akenaton

    akenaton

    Joined:
    Oct 11, 2013
    Posts:
    9
    Hi,

    Since today i have this error :

    Code (CSharp):
    1. Build completed with a result of 'Failed'
    2. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    3.  
    4. UnityEditor.BuildPlayerWindow+BuildMethodException: 101 errors
    5.   at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x0020e] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:181
    6.   at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00065] in C:\buildslave\unity\build\Editor\Mono\BuildPlayerWindowBuildMethods.cs:88
    7. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)
    And i can do nothing ... Impossible to build, and i really dont know where this error come from, i search on internet but nothing founded.

    PS: The 101 error are all the same
    I use unity 2017.3 and windows 10 build for Window Standalone
     
    PsijicNine likes this.
  2. akenaton

    akenaton

    Joined:
    Oct 11, 2013
    Posts:
    9
    Anybody for help please ?
     
    PsijicNine likes this.
  3. akenaton

    akenaton

    Joined:
    Oct 11, 2013
    Posts:
    9
    Still anybody for helping ? ( I tryed on version 5.6 and i can build without any problem ) but not work on 2017.X
     
  4. UDN_fa49bd34-3c96-4c05-acf3-d507cec7e562

    UDN_fa49bd34-3c96-4c05-acf3-d507cec7e562

    Joined:
    Jun 5, 2017
    Posts:
    1
    Hey there,i am also getting the same error,can't find any solution.anyone to help...!
    Thankyou
     
  5. fametune

    fametune

    Joined:
    Oct 2, 2013
    Posts:
    3
    Same here, my editor even crashes on play, if i just wait or click something else, then i get this message
     
  6. Filinovo

    Filinovo

    Joined:
    May 10, 2018
    Posts:
    2
    I have the same problem, I'm not able to build.
     
  7. Adam_Starcaster

    Adam_Starcaster

    Joined:
    Dec 7, 2012
    Posts:
    37
    Same here yet again, Unity is slowing me down with these errors.
     
  8. Deleted User

    Deleted User

    Guest

    i did and worked for me was this : Go to packages reset manifest.jason by doing the copy and erase of everything inside brackets and let the brackets empty and after restore everything ; I dont know if i recomend though , because prefabs;
     
    Last edited by a moderator: Aug 14, 2018
    sinemayacreative likes this.
  9. sinemayacreative

    sinemayacreative

    Joined:
    Oct 7, 2018
    Posts:
    4
    Hi, can you show how step by step..?

    Same problem and have no idea how to solve.. :(
     
    PsijicNine likes this.
  10. sinemayacreative

    sinemayacreative

    Joined:
    Oct 7, 2018
    Posts:
    4
    Hi did you get any clue how to fix..?

    Same here :(
     
  11. Leonardo168

    Leonardo168

    Joined:
    Jan 19, 2019
    Posts:
    1
    guys, these hapen to me because im trying to use a legacy animation in the animator controler
     
  12. StarBlazer

    StarBlazer

    Joined:
    Nov 19, 2015
    Posts:
    1
    This happened to me when I ticked 'Custom Gradle Template' in Publishing Settings when Ui'm building an App Bundle.
     
  13. BATTLEKOT

    BATTLEKOT

    Joined:
    Oct 2, 2016
    Posts:
    179
    same there, happened after update version of unity from 2018.3 to 2018.4...
     
  14. realgamingart

    realgamingart

    Joined:
    Apr 10, 2014
    Posts:
    20
    I am also not getting the solution and I do not know how to solve the problem ?

    Build completed with a result of 'Failed'
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)

    Please somebody help me
     
  15. zbagley

    zbagley

    Joined:
    May 23, 2019
    Posts:
    3
    Same problem with 2019.3.0a10 when using Android native library plugin
     
  16. raianedecassiasiqueira

    raianedecassiasiqueira

    Joined:
    Aug 22, 2019
    Posts:
    1
    Same problem with 2019.2.2f,

    Help!!! :(:(
     
    junctionboss likes this.
  17. Discart

    Discart

    Joined:
    Mar 1, 2016
    Posts:
    1
    I was building on a 4096x4096px terrain and got the same error. I couldn't even open my project. It turned out that the lighting and the shadow required too much memory. Solution: Edit (left up) -> Preferences -> GI Cache -> Clean Cache.
    But afterwardsI had to continue working on a smaller terrain.
     
    Marco_Bugo likes this.
  18. nyashafrank145

    nyashafrank145

    Joined:
    Sep 29, 2019
    Posts:
    4
    Has anyone found a solution?
     
    JavierBas likes this.
  19. TreyK-47

    TreyK-47

    Unity Technologies

    Joined:
    Oct 22, 2019
    Posts:
    1,816
  20. KReguieg

    KReguieg

    Joined:
    Oct 27, 2016
    Posts:
    3
    Hey fellow Devs,

    I think the most common case of this Build Error is that your hard disk is full.
    Especially when the build breaks between "Postprocessing Player" and "Copying files to final destination".

    At least that is what happened to me. My build was 2-3 GB big and I still had more than this amount of free space on my hard disk. But since the OS needs some free space as well to swap around files in the background, it blocks this amount of disk space.

    So long story short. Freeing some disk space made this build error go away for me. :)
     
    KyokaiShiro likes this.
  21. Brogetto

    Brogetto

    Joined:
    Jan 10, 2020
    Posts:
    1
    I just BOUGHT MapMagic for $75 and I downloaded it....when I press import, I get
    Failed to import package with error: Couldn't decompress package
    UnityEngine.GUIUtility.processEvent(Int32,IntPtr)

    I am a new user. I haven't got a response from Unity yet. I think they're taking advantage of me.
     
  22. dwilliams180

    dwilliams180

    Joined:
    Dec 12, 2019
    Posts:
    1
    PsijicNine likes this.
  23. unity_XNVVu7lT-nRkkQ

    unity_XNVVu7lT-nRkkQ

    Joined:
    Mar 20, 2020
    Posts:
    2
    Attempts to free up disk space
     
    PsijicNine likes this.
  24. armandoj800

    armandoj800

    Joined:
    Nov 21, 2016
    Posts:
    1
    I just got this error and nothing I can fix it UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
     
    PsijicNine likes this.
  25. billel81

    billel81

    Joined:
    Mar 25, 2020
    Posts:
    1
    for me it's work

    i deleted the key store in my project and i was created a new one

    after i build my project it's work
     
  26. nicsure

    nicsure

    Joined:
    Apr 15, 2020
    Posts:
    2
    This is unfortunately not an option, as you always need to use the same key with Google Play
     
  27. superjewish

    superjewish

    Joined:
    Apr 26, 2020
    Posts:
    1
    UnityEditor.BuildPlayerWindow+BuildMethodException: 3 errors
    at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x002bb] in <455e94fe44aa49359a209950d8d8b123>:0
    at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <455e94fe44aa49359a209950d8d8b123>:0
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)


    i have the same problem guys i'm using Unity 2019
     
    fvelandiah and FlightOfOne like this.
  28. DanialKM

    DanialKM

    Joined:
    Jan 5, 2020
    Posts:
    1
    for me there was a problem with this path : assets/plugins/android
    i import some resolver application for android dependencies and it added some
    files in that path after a while i couldn't export project any more so i deleted all dependencies and resolved it again
    so now it works fine
     
    Joseph_designer likes this.
  29. Corrompido_Por_115

    Corrompido_Por_115

    Joined:
    Jul 2, 2020
    Posts:
    1
    Gracias a todos ustedes por sus útiles respuestas // Thank you all for yours usefull answer:)
     
  30. Ugh1849

    Ugh1849

    Joined:
    Jan 5, 2020
    Posts:
    1
    for windows mac linux standalone in project settings disable Burst AOT settings
     
  31. studiofelfel

    studiofelfel

    Joined:
    Jul 14, 2020
    Posts:
    1
    Hello
    UnityEngine.GUIUtility:processEvent(Int32, IntPtr)
    same error ,
    build is harder and more complex more than make a game and after a long time of errors , I succeed to build APK but it can't install on any android mobile.
    How can I resolve that????????????
     
  32. ehsan_wwe1

    ehsan_wwe1

    Joined:
    Apr 16, 2011
    Posts:
    22
    same error in APK export
    unity 2020.1.0f
     
  33. DCZT_97

    DCZT_97

    Joined:
    Jun 23, 2020
    Posts:
    3
    I got it working, when I changed two things: In the player settings, under publishing settings, click custom gradle properties template and then under other settings, change the scripting backend to IL2CPP and the api compatibility level to .NET Standard 2.0, and then check the box with ARM64. For me it worked. Hope it helps.
     
  34. kingpanks

    kingpanks

    Joined:
    Jul 13, 2018
    Posts:
    13
    No it doesn't work for me. Please someone find the solution for this issue. I am not able to update my app on play store. Im using Unity 2019.4.11f1
     
    Last edited: Oct 13, 2020
    PsijicNine likes this.
  35. Saurabh82

    Saurabh82

    Joined:
    Jun 10, 2020
    Posts:
    5
    Hi Guys,

    I am getting the same error. Though everything works fine when played in the Unity game. But when built, it does not work as expected. My Player data like health does reload to 100% when level changes. but in the unity it works fine. I guess there is some issue that while building that particular line of script is not executed.

    Someone please help.
     
  36. PelagicFlux

    PelagicFlux

    Joined:
    Oct 30, 2020
    Posts:
    1
    bumping this apparent 2 year issue... trying to learn unity myself atm.. and getting UnityEngine.GUIUtility:processEvent(Int32, IntPtr) ... I am on Majaro Linux, everything else works fine, installed from proper repo/app, etc. any luck?
     
  37. janjilecek

    janjilecek

    Joined:
    Apr 17, 2020
    Posts:
    7
    Have any of you also installed Google Play games plugin? Currently fixing this, and I installed that package yesterday. It must have messed up the settings somehow.
     
  38. KazYamof

    KazYamof

    Joined:
    Jun 26, 2015
    Posts:
    59
    Same here
     
  39. artuarlouis

    artuarlouis

    Joined:
    Sep 6, 2020
    Posts:
    1
    increcible i'm following step by step tutorials, hours importing and creating new projects, adb dirvers and so on! bu still the collection of errors are huge
     
    PsijicNine likes this.
  40. Chadwee

    Chadwee

    Joined:
    Sep 17, 2020
    Posts:
    2
    This happened when I enabled GPU instancing on the materials and attempted to do a Frame Rate analysis, it would crash as well. The problem went away when I unticked the GPU instancing on each material.
     
    monoganog likes this.
  41. Sanjay112000

    Sanjay112000

    Joined:
    Nov 9, 2020
    Posts:
    10
    Your suggestion helped me.Thank you sir
     
  42. hawam

    hawam

    Joined:
    Jun 14, 2015
    Posts:
    6
    i had the same error , i had less than 10 GB free disk space
    i freed more space and it built successfully.
    i changed also to il2cpp but i had the error before making space
     
  43. vlsvkls

    vlsvkls

    Joined:
    Feb 18, 2020
    Posts:
    1
    One of Solutions it player settings.
    You need to have change the scripting backend to IL2CPP
    or try to change something else in player settings.
     
  44. gerfitz

    gerfitz

    Joined:
    May 15, 2020
    Posts:
    1
    I solved my instance of this error by closing the scene tab and opening a new one ?!?!
    Don't know if this will help anyone else
     
    x1alphaz1 likes this.
  45. JuniorMaphosa

    JuniorMaphosa

    Joined:
    Feb 13, 2021
    Posts:
    7
    Hi everyone.
    Code (CSharp):
    1. MissingMethodException: void UnityEditor.PlayerSettings/Android.set_optimizedFramePacing(bool)
    2. UnityEditor.Android.PostProcessor.Tasks.CheckPrerequisites.Execute (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    3. UnityEditor.Android.PostProcessor.PostProcessRunner.RunAllTasks (UnityEditor.Android.PostProcessor.PostProcessorContext context) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    4. UnityEditor.Android.PostProcessAndroidPlayer.PrepareForBuild (UnityEditor.BuildOptions options, UnityEditor.BuildTarget target) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    5. UnityEditor.Android.AndroidBuildPostprocessor.PrepareForBuild (UnityEditor.BuildOptions options, UnityEditor.BuildTarget target) (at <d76da2c9a45b4b02b93f56ae560b1d44>:0)
    6. UnityEditor.PostprocessBuildPlayer.PrepareForBuild (UnityEditor.BuildOptions options, UnityEditor.BuildTargetGroup targetGroup, UnityEditor.BuildTarget target) (at <c84609c921cb488481d7d8a5fcdf9588>:0)
    7. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    Any more solutions? I tried everything and I am still getting that same errors
    Code (CSharp):
    1. Assembly 'Packages/com.google.external-dependency-manager/ExternalDependencyManager/Editor/Google.IOSResolver_v1.2.164.dll' will not be loaded due to errors:
    2. Unable to resolve reference 'UnityEditor.iOS.Extensions.Xcode'. Is the assembly missing or incompatible with the current platform?
    3. Reference validation can be disabled in the Plugin Inspector.
    Code (CSharp):
    1. Error building Player: MissingMethodException: void UnityEditor.PlayerSettings/Android.set_optimizedFramePacing(bool)
    Code (CSharp):
    1. UnityEditor.BuildPlayerWindow+BuildMethodException: 2 errors
    2.   at UnityEditor.BuildPlayerWindow+DefaultBuildMethods.BuildPlayer (UnityEditor.BuildPlayerOptions options) [0x00280] in <c84609c921cb488481d7d8a5fcdf9588>:0
    3.   at UnityEditor.BuildPlayerWindow.CallBuildMethods (System.Boolean askForBuildLocation, UnityEditor.BuildOptions defaultBuildOptions) [0x00080] in <c84609c921cb488481d7d8a5fcdf9588>:0
    4. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    Code (CSharp):
    1. Build completed with a result of 'Failed'
    2. UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr, Boolean&)
    3.  
    Any help would be kindly appreciated
     
  46. JuniorMaphosa

    JuniorMaphosa

    Joined:
    Feb 13, 2021
    Posts:
    7
     
  47. ashikazeez45

    ashikazeez45

    Joined:
    Mar 15, 2021
    Posts:
    1
    I found the issue look like :

    Invalid build path: c:/users/<folder name >
    UnityEngine.GUIUtility:processEvent (int,intptr,bool&)
    while export project
    So, Removed all space in <folder name> and working fine
     
    MCLiving88 likes this.
  48. unity_c5q-nbbATQxUPA

    unity_c5q-nbbATQxUPA

    Joined:
    Aug 23, 2018
    Posts:
    1
    solved by mistakenly type in a wrong Keystore password. Surprisingly, unity didn't tell me I typed in a wrong Keystore password
    NOTE: I typed in a capital letter instead of it being small
     
    PsijicNine likes this.
  49. ashishumrao

    ashishumrao

    Joined:
    Jan 6, 2020
    Posts:
    2
    What Worked For Me: I was using the UnityEditor namespace for a script. If you are too, then just move that script to Assets>Editor folder which you have to create on your own :)
     
  50. MCLiving88

    MCLiving88

    Joined:
    Aug 26, 2020
    Posts:
    7

    Build would complete, but40 errors related to above, changed the name of the file, which had never been the issue, and the errors are gone. Thank you for the suggestion.
     
    PsijicNine likes this.