Announcement

Collapse
No announcement yet.

Crash while using a new GameEngine/GameViewportClient.

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

    Crash while using a new GameEngine/GameViewportClient.

    If we create a new class of GameEngine(TestGame.TestEngine) and using it on DefaultEngine.ini.
    It works ok on PC but crash at iPhone.

    -------------------------------------------
    Crash
    Assertion failed: Class ConstructObject called with a NULL class object.
    ------------------------------------------

    The version of udk i used is UDK-2012-02.

    #2
    I'm using a custom GameEngine without problems. From the top of my head, that seems to be an issue related to not cooking/including your TestGame project. Or do you forgot to add TestGame into your startup packages?

    Comment


      #3
      maybe need put the new u package into always load package.

      Comment


        #4
        I add "TestGame" to these section, but it still crash while using UDK-2012-02!(It will not crash while using UDK-2011-12):

        ---------------------------------------
        DefautEngine.ini
        ---------------------------------------
        [Engine.ScriptPackages]
        +NonNativePackages=TestGame

        [UnrealEd.EditorEngine]
        +EditPackages=TestGame

        [Engine.StartupPackages]
        +Package=TestGame

        Comment


          #5
          Did you end up solving this? I'm running into the same issue - iOS crash, same crash report, fine in previewer and only when using a custom GameViewportClient.

          Comment


            #6
            Have anyone got a proper solution..... m kinda stuck into it.

            Thanks.

            Comment

            Working...
            X