No announcement yet.

DrawActor problem

  • Filter
  • Time
  • Show
Clear All
new posts

  • replied
    I have meshes drawn on my HUD aswell and get this problem too, it seems to happen MOSTLy on ATI cards strangly enough but I think it can happen on GeForce card's aswell. (note: I have NEVER personally had this problem..only people testing my HUD got it)

    I too would like to know how to fix this
    I actually put a mail up on the mods list about this ages ago, Steve Polge (or maybe someone else, I can't remember) asked me exactly what I was doing and I sent him the code after that...No reply

    If your also having problems with mesh item placement on the HUD I can help you out with that, I spent a very long time tweaking the code for my HUD.

    Leave a comment:

  • started a topic DrawActor problem

    DrawActor problem

    Hi again.

    I have my inventory stuff all setup and now i want to render the inventory item in my righthand to the screen.

    I have my variable

    var Inventory Righthand; (making Righthand equal tosomething)

    so i go ahead and call

    C.drawActor(Righthand, false, true,90);

    in the hud somewhere.

    But it crashes and gives me a general protection error.
    What else do i have to do to get it to render an actor on my hud?

    i have a static mesh for it. Do i need something else like an animation of some kind.

    here is the log file

    Critical: USkeletalMeshInstance::Render
    Critical: FDynamicActor::Render
    Critical: FActorSceneNode::Render
    Critical: UCanvas:rawActor
    Critical: UCanvas::execDrawActor
    Critical: (myHUD DUN-Dungeon1.myHUD @ Function DungeonMaster.myHUD.CanvasDrawActors : 0085)
    Critical: UObject::ProcessEvent
    Critical: (myHUD DUN-Dungeon1.myHUD, Function Engine.HUD.PostRender)
    Critical: FPlayerSceneNode::Render
    Critical: UGameEngine:raw
    Critical: UWindowsViewport::Repaint
    Critical: UWindowsClient::Tick
    Critical: ClientTick
    Critical: UGameEngine::Tick
    Critical: Level Untitled
    Critical: UpdateWorld
    Critical: MainLoop
    Critical: FMallocWindows::Free
    Critical: FMallocWindows::Realloc
    Critical: 676F4C57 0 FArray
    Critical: FArray::Realloc
    Critical: 0*2
    Critical: FMallocWindows::Free
    Exit: Executing UObject::StaticShutdownAfterError
    Exit: Executing UWindowsClient::ShutdownAfterError