Announcement

Collapse
No announcement yet.

Custom Character Crash Issues

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

    Custom Character Crash Issues

    Hi ya'll I used Sevv's custom character tutorial to create a few characters for UT3. My first character works fine but my second character crashes the game whenever a map starts. I can see it just fine in the character selection screen and the mesh loads up fine in UnrealEd, but trying to actually play as the character causes the game to crash.

    I feel that the problem might be related to a slightly high polygon count or the fact that the character only exists as one head mesh, since I didn't bother to chop him up.

    The thing is, the first character I made also had a high polygon count and was only a head mesh, but it loads up just fine.

    What kind of issues would allow a custom character to be perfectly viewable by the character selection screen but crash the game whenever you try to play with it in the game? Thanks!

    #2
    nearly every character problem doesn't show in the selection screen, in future use a tutorial that the author supports.
    to fault find have a look at your launch.log

    Comment


      #3
      Well, here's my log after the level loads. I'm not 100% sure how to decipher it. The name of the character is 'customCharacter'. Any help is greatly appreciated.

      Log: ########### Finished loading level: 3.887165 seconds
      ScriptLog: Retrieving Profile Settings for UI PlayerIndex 0
      ScriptLog: UTPlayerController::LoadCharacterFromProfile() - Loaded character data from profile.
      Log: AUTPlayerController::GetPlayerCustomCharData() - Loaded custom character data from profile (ControllerId: 0).
      Log: Changing subtitle setting, new value: 1
      ScriptLog: UTPlayerController - Setting netspeed to 10000
      Warning: Failed to load 'Class UTGame.UTWeap_ RocketLauncher': Failed to find object 'Class UTGame.UTWeap_ RocketLauncher'
      ScriptLog: CustomChar - Load Assets: CHT
      Log: Begin Async loading packages for Family 'CHT':
      Log: - CH_customCharacter
      Log: Flushing async loaders.
      Log: Family Asset Package Loaded: CH_customCharacter
      Error: Character creation package 'CH_customCharacter' doesn't have ServerSideOnly flag set. Set this using the 'SetPackageFlags' commandlet.
      Log: CONSTRUCTIONING: LoadFamilyAsset (CHT) Took: -0.33 secs
      ScriptLog: CUSTOMCHAR Start: UTPlayerReplicationInfo_2 selkcir36 V01
      Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
      Log: FindPartSkelMesh: Failed to find Family:CHT Part:4 PartID:false
      Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
      Log: FindPartSkelMesh: Failed to find Family:CHT Part:7 PartID:false
      Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
      Log: FindPartSkelMesh: Failed to find Family:CHT Part:8 PartID:false
      Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
      Log: FindPartSkelMesh: Failed to find Family:CHT Part:6 PartID:false
      Log: No Textures Found For: BODY Texture: 0
      Log: No Textures Found For: BODY Texture: 1
      Log: No Textures Found For: BODY Texture: 2
      Log: No Textures Found For: BODY Texture: 3
      Log: No Textures Found For: BODY Texture: 4
      Log: StartCustomCharMerge: 0.098322 ms initializing, 0.195079 ms texture streaming
      Warning: UTexture2DComposite: no regions to process
      Warning: UTexture2DComposite: no regions to process
      Warning: UTexture2DComposite: no regions to process
      Warning: UTexture2DComposite: no regions to process
      Warning: UTexture2DComposite: no regions to process
      Log: Source mesh can only have 1 or 2 sections. (CH_customCharacter.Mesh.customCharacter)
      Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
      Log: FindPartSkelMesh: Failed to find Family:CHT Part:4 PartID:false
      Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
      Log: FindPartSkelMesh: Failed to find Family:CHT Part:6 PartID:false
      Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
      Log: FindPartSkelMesh: Failed to find Family:CHT Part:7 PartID:false
      Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
      Log: FindPartSkelMesh: Failed to find Family:CHT Part:8 PartID:false
      Log: CUSTOMCHAR: Merge Mesh: 13.83ms Composite Tex: 0.02ms
      Critical: appError called:
      Critical: Assertion failed: NewMesh->Materials.Num() == 2 [File:.\Src\UTCustomChar.cpp] [Line: 1758]

      Stack:
      Critical: Windows GetLastError: The operation completed successfully. (0)
      Log: === Critical error: ===
      Assertion failed: NewMesh->Materials.Num() == 2 [File:.\Src\UTCustomChar.cpp] [Line: 1758]

      Stack:

      RaiseException() Address = 0x76f542eb (filename not found) [in C:\Windows\system32\kernel32.dll]
      CxxThrowException() Address = 0x75dd8e89 (filename not found) [in C:\Windows\WinSxS\x86_microsoft.vc80.crt_1fc8b3b9a 1e18e3b_8.0.50727.1434_none_d08b6002442c891f\MSVCR 80.dll]
      Address = 0xba0102 (filename not found) [in C:\Program Files\Unreal Tournament 3\Binaries\UT3.exe]
      Address = 0xe875e34c (filename not found)
      Address = 0xe875e34c (filename not found)

      Exit: Executing UObject::StaticShutdownAfterError
      Exit: Executing UWindowsClient::ShutdownAfterError
      Exit: Executing UWindowsClient::ShutdownAfterError
      Exit: UALAudioDevice::ShutdownAfterError
      Log: Shutting down FaceFX...
      Log: FaceFX shutdown.
      Exit: Exiting.
      Exit: Name subsystem shutting down
      Uninitialized: Log file closed, 01/31/09 19:23:29

      Comment


        #4
        ok due to the coding of UT3 you can only have 2 materials assigned per character, this means 1 for the head parts and 1 for the body parts

        Code:
        Critical: appError called:
        Critical: Assertion failed: NewMesh->Materials.Num() == 2 [File:.\Src\UTCustomChar.cpp] [Line: 1758]
        
        Stack:
        Critical: Windows GetLastError: The operation completed successfully. (0)
        Log: === Critical error: ===
        Assertion failed: NewMesh->Materials.Num() == 2 [File:.\Src\UTCustomChar.cpp] [Line: 1758]
        this tells me there's a problem with the material setup

        Code:
        Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
        Log: FindPartSkelMesh: Failed to find Family:CHT Part:4 PartID:false
        Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
        Log: FindPartSkelMesh: Failed to find Family:CHT Part:7 PartID:false
        Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
        Log: FindPartSkelMesh: Failed to find Family:CHT Part:8 PartID:false
        Log: Cannot find PartID 'false' - Falling back to BasedOnChar.
        Log: FindPartSkelMesh: Failed to find Family:CHT Part:6 PartID:false
        tells me it can't find some parts, check your character ini file

        Comment


          #5
          Ahh, problem solved, thanks geodav!

          Comment


            #6
            and it was ? , please tell so that others can learn

            Comment


              #7
              Since I only specified the head mesh, it was crashing when it tried to load in arm, boot, legs, and torso meshes. So I went back and made a single polygon for each of the meshes I didn't have.

              I also was using three materials, since I didn't know about the max 2 material thing.

              Comment

              Working...
              X