Jump to content

Empty Output Compiling Scripts


Recommended Posts

This started happening last night all of a sudden. I use MO2.



I had everything working fine, then out of the blue CK (and Sublime which I had working as well), stopped being able to compile scripts.




In the CK now when I go to compile a script, it just freezes for an hour and then says compile failed.


There output window is completely empty, and I don't mean it says it's unable to fine a file, or wasn't able to set an object reference. I literally mean an empty white rectangle with 0 text whatsoever.


If I force-quit PapyrusCompiler.exe mid-process I get "ObjectReference.psc(1,1): no viable alternative at character ':'"




In Sublime's case I can't even get the Papyrus package for it to install correct. Following the instructions on the page for it, I don't get the settings file generated required to point to my game paths.





Can anyone help? I've reinstalled the CK, Sublime, tried disabling Antivirus, running a SystemFileChecker, restarting, updating Windows.


It looks like somehow the compiler itself is broken. But I just reinstalled it so that shouldn't be possible.



Not sure what else is left at this point.




EDIT: Bypassing MO2 sees success. So it's like the VFS in Mod Organizer isn't letting programs access the compiler for some reason. Reinstalling MO2 did not help.


Edited by Spongeman131
Link to comment
Share on other sites

You are not the only one this is happening to. Including me, I now know five people complaining about this. It worked fine before and then all of a sudden, somewhere around 30th of July, this started happening. In my case, the CK complains about the script file being used by another process (when in fact, there is no other process using it other than MO), and then overwriting the script files with the error message. I'm almost certain that it was a Windows Defender Update that caused it. MO did not receive an update in the last few days, and neither did the CK. The only Windows Update I received in that time period was a Windows Defender Update, according to my update history.

 

And yes, I just checked it. After disabling Windows Defender, everything miracurously works again.

 

TL;DR: Disable Windows Defender

Link to comment
Share on other sites

EDIT: It seems like disabling Windows Defender alone isn't 100% solving the issue. Sometimes (for other people even more often than not), the scripts still won't compile properly. I think it's because of Hyper-V. This feature has been known in the past to break virtualization programs since it's also trying to use the virtualization feature alongside Mod Organizer (Which explains why the CK thinks that some other process is using the script files). Even if you have Hyper-V already disabled, it might still be partially active. Doing the following 100% fixed the issue for me:

1.) Navigate to Windows Features

2.) Enable "Windows Hypervisor Platform" (Might be called differently on your OS)

3.) Restart PC

4.) Disable "Windows Hypervisor Platform" again.

5.) Restart PC

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...