Announcement

Collapse
No announcement yet.

Script Rebuild Crash

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Script Rebuild Crash

    I'm using a clean install of Nov 2012 UDK build. Everything worked fine up until this point. Now, when I rebuild scripts (quick or full), the compiler gets up to this point and then crashes.

    Code:
    ...(All above packages were successful)...
    --------------------OnlineSubsystemGameCenter - Release--------------------
    Analyzing...
    Scripts successfully compiled - saving package 'C:\UDK\SpacePirateGame\Binaries\Win32\..\..\UDKGame\Script\OnlineSubsystemGameCenter.u'
    --------------------SpacePirateGameGame - Release--------------------
    Warning, Can't find files matching C:\UDK\SpacePirateGame\Binaries\Win32\..\..\Development\Src\SpacePirateGameGame\Classes\*.uc
    --------------------UDKBase - Release--------------------
    Analyzing...
    Scripts successfully compiled - saving package 'C:\UDK\SpacePirateGame\Binaries\Win32\..\..\UDKGame\Script\UDKBase.u'
    --------------------SpacePirateGame - Release--------------------
    Analyzing...
    Scripts successfully compiled - saving package 'C:\UDK\SpacePirateGame\Binaries\Win32\..\..\UDKGame\Script\SpacePirateGame.u'
    [Jan 26, 11:06 AM] COMMANDLET 'UDK.exe make -full' FAILED
    Probably the best solution would be to reinstall UDK, but I'm hoping there's a better solution if this were to happen again.

    #2
    I hade the same error and found no solution. I have solved it with a reinstall ;D

    Comment


      #3
      Even a reinstall didn't solve this. It must be a problem with my code, though I can't imagine what . It seems to work when I delete my pawn class. Never known a .uc file, even with errors, to crash the compiler.

      Edit: Figured it out. This whole thing is really weird. I removed the arrow component from my pawn and it worked...

      Code:
      Begin Object Class=ArrowComponent Name=MyArrow0
          HiddenGame=False
          ArrowSize=3.0
      End Object
      Components.Add(MyArrow0)

      Comment


        #4
        Yup, the arrow component seems buggy. Another thing that crashes the compiler is a static class reference to a missing class: class'MissingClass'.static.SomeFunction();

        Comment


          #5
          Using a for loop with a variable that does not exist crashes the compiler too, it does however mention that the variable assigned on the for loop does not exist before it crashes so that's good.

          Comment


            #6
            Hmm I really need to tell people about these things, Ive known about all 3 for ages lol

            http://wiki.beyondunreal.com/Compiler_issues

            Comment


              #7
              Hmm, well now I know, thanks guys!

              Comment

              Working...
              X