Nawor3565 Posted December 16, 2019 Share Posted December 16, 2019 (edited) I'm having an issue when compiling scripts. When I hit "compile", the dialog comes up totally empty, no messages at all. My very simple script didn't work, so I checked the .psc file in \Source\Scripts, and here's exactly what was in the file: Starting 1 compile threads for 1 files... Compiling "test"... J:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\test.psc(0,0): error while attempting to read script test: The process cannot access the file 'J:\SteamLibrary\steamapps\common\Skyrim Special Edition\Data\Source\Scripts\test.psc' because it is being used by another process. No output generated for test, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on test shed. 0 succeeded, 1 failed. Failed on TIF__05098865 Actor Property Guard1 Auto Int Property NewProperty Auto Actor Property awd Auto ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 6 Scriptname test Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_5 Function Fragment_5(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE akspeaker.startcombat(Game.GetPlayer()) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment Why is the compiler log being written to the .psc file? And what program could be accessing the script and breaking the compiler? The same thing happened with every single script I've tried. One other person online has this problem, but they didn't share how they fixed it. I have Notepad++ working as a compiler, but it doesn't seem to work with Papyrus fragments. I'm using MO2, but it shouldn't be causing any problems. Edit: Meant "CK" in title, not "CC". Oh well. Edited December 16, 2019 by Nawor3565 Link to comment Share on other sites More sharing options...
doticu Posted December 16, 2019 Share Posted December 16, 2019 It's actually a bug in MO2, check out this post: https://forums.nexusmods.com/index.php?/topic/5167065-mod-organizer/page-404&do=findComment&comment=75432033 Link to comment Share on other sites More sharing options...
Nawor3565 Posted December 16, 2019 Author Share Posted December 16, 2019 It's actually a bug in MO2, check out this post: https://forums.nexusmods.com/index.php?/topic/5167065-mod-organizer/page-404&do=findComment&comment=75432033Thank you so much! I grabbed the latest development build and the script works great now. Link to comment Share on other sites More sharing options...
doticu Posted December 16, 2019 Share Posted December 16, 2019 It's actually a bug in MO2, check out this post: https://forums.nexusmods.com/index.php?/topic/5167065-mod-organizer/page-404&do=findComment&comment=75432033Thank you so much! I grabbed the latest development build and the script works great now. Glad to be of help! Link to comment Share on other sites More sharing options...
Recommended Posts