x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Sharedpointers error in Plugins on packagin, but not in PIE

I have a slight problem with packaging my project (still work in progress, so it's not a immediate problem).

When i package to Win64 (probably on other platforms too), i get a sharedpointers error (IsValid() in SharedPointers.h) I assume the fault is my plugin, but the 2 entries in the stack which refer to my plugin are without debug information.

Is there a way to get the debug info at packaging? Since i don't know what causes it and it runs just fine in PIE mode, i'm bit at a loss here. Also what i would like to know is, what's causing this type of error? (I don't really use SharedPointers conciously)

Any tips are welcome.

Product Version: UE 4.14
Tags:
more ▼

asked Nov 30 '16 at 11:05 AM in Packaging & Deployment

avatar image

Algorithman
53 4 7 10

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Found my bug and a solution, editor nulled my object instances in my array.

more ▼

answered Dec 11 '16 at 07:49 AM

avatar image

Algorithman
53 4 7 10

(comments are locked)
10|2000 characters needed characters left

Hey Algorithman,

I'm not sure if you're referring to debugging the packaged .exe, or debugging the process during packaging.

I've come across a couple of articles that might help you debug your packaged game, and I'd recommend trying these:

https://wiki.unrealengine.com/Debugging_How_To_Debug_Packaged_Games

https://answers.unrealengine.com/questions/66760/how-to-debug-packaged-game.html

Let me know if that helps, or if you have any further questions.

Have a great day

more ▼

answered Dec 01 '16 at 06:46 PM

avatar image

Sean L ♦♦ STAFF
43.9k 485 150 438

avatar image Algorithman Dec 02 '16 at 11:06 AM

Not exactly my problem. While packaging the game is apparently executed, but fails with the IsValid() error in SharedPointer.h (line 712 iirc).

Since it doesnt finish packaging, i cant possibly debug the packaged game. I'll provice the stacktrace in a few hours, i think it makes clear what's missing.

But thx for the links, i probably need them in the future :)

avatar image Sean L ♦♦ STAFF Dec 05 '16 at 03:21 PM

Could you provide the full output log from your project's Saved->Logs folder so I can have a look at your exact errors

avatar image Algorithman Dec 06 '16 at 06:23 PM

Sorry for the delay.

Attached are the cooking logs (same error on packaging).

8<----------------- snip ----------------------

[2016.12.06-18.12.54:999][397]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.12.06-18.12.54:756][ 0]LogWindows:Error: UE4Editor-Slate.dll!FSlateApplication::Get() [c:\github\unrealengine\engine\source\runtime\slate\public\framework\application\slateapplication.h:222]

[2016.12.06-18.12.55:000][397]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.12.06-18.12.54:766][ 0]LogWindows:Error: UE4Editor-MazeGenerator.dll

[2016.12.06-18.12.55:000][397]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.12.06-18.12.54:776][ 0]LogWindows:Error: UE4Editor-MazeGenerator.dll

[2016.12.06-18.12.55:000][397]UATHelper: Cooking (Windows): UE4Editor-Cmd: [2016.12.06-18.12.54:786][ 0]LogWindows:Error: UE4Editor-Core.dll!FModuleManager::LoadModuleWithFailureReason() [c:\github\unrealengine\engine\source\runtime\core\private\modules\modulemanager.cpp:485]

8<----------------- snip ----------------------

So i can't determine where it breaks in my plugin. Is there a way to use the plugin dll WITH debug information while cooking?

Project log

project.log (53.9 kB)
(comments are locked)
10|2000 characters needed characters left
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question