Jusas / SQLite3UE4

SQLite3 Database Plugin for Unreal Engine 4
MIT License
68 stars 53 forks source link

Epic bug with plugins for project. #9

Open KhArtNJava opened 9 years ago

KhArtNJava commented 9 years ago

Hello.

In my previous bug report https://answers.unrealengine.com/questions/253236/hot-reload-seems-broken-in-project-with-plugin-pos.html I reported to your team that Project with plugin after compilation from UE Editor can't be saved - it's gets errors on save.

But that's not the end of the story of the Project with plugins...

After packaging of that Project - game exe crashed with no errors in logs. It's not generated log files, it just silently chashes...

Project sources: https://goo.gl/SKV0nm Packaged result: https://goo.gl/5mG36b

Can you explain, why it crashed without no information about crash?

But in Windows logs I found error:

Контейнер ошибки 120274677119, тип 4
Имя события: APPCRASH
Отклик: Нет данных
Идентификатор CAB: 0

Сигнатура проблемы:
P1: HOTRELOADTEST.exe
P2: 4.8.1.0
P3: 559e3d04
P4: HOTRELOADTEST.exe
P5: 4.8.1.0
P6: 559e3d04
P7: c0000005
P8: 000000000036501c
P9: 
P10: 

Вложенные файлы:
C:\Users\ArtUrlWWW\AppData\Local\Temp\WER5266.tmp.WERInternalMetadata.xml

Эти файлы можно найти здесь:
C:\Users\ArtUrlWWW\AppData\Local\Microsoft\Windows\WER\ReportArchive\AppCrash_HOTRELOADTEST.ex_750ea75e2f08ec17ab687f4a959ccc46c914271_d98a345c_20425748

Символ анализа: 
Повторный поиск решения: 0
Идентификатор отчета: 25d6cac3-261d-11e5-bf13-fc4dd451925d
Состояние отчета: 0
Хэшированный контейнер: 687a870ec593dd3bb0c879926259f561

Имя сбойного приложения: HOTRELOADTEST.exe, версия: 4.8.1.0, метка времени: 0x559e3d04
Имя сбойного модуля: HOTRELOADTEST.exe, версия: 4.8.1.0, метка времени: 0x559e3d04
Код исключения: 0xc0000005
Смещение ошибки: 0x000000000036501c
Идентификатор сбойного процесса: 0x23f0
Время запуска сбойного приложения: 0x01d0ba29e820328f
Путь сбойного приложения: C:\temp\MyGameBuild\qqq\WindowsNoEditor\HOTRELOADTEST\Binaries\Win64\HOTRELOADTEST.exe
Путь сбойного модуля: C:\temp\MyGameBuild\qqq\WindowsNoEditor\HOTRELOADTEST\Binaries\Win64\HOTRELOADTEST.exe
Идентификатор отчета: 25d6cac3-261d-11e5-bf13-fc4dd451925d
Полное имя сбойного пакета: 
Код приложения, связанного со сбойным пакетом: 

Thank you!

Jusas commented 9 years ago

This is somewhat a mystery to me, I originally created the code for UE 4.6 and tested packaging with it and at that time it seemed to work just fine. Looks like it's crashing on an access violation. That's pretty much all I can tell, I've only worked with 4.6 and I'm not currently actively developing anything with UE4 for the time being so I'm afraid I'm not of much help at this time. As for plugin hot reloading, it wasn't available back in 4.6 so I'm afraid I can't help you with that either.

KhArtNJava commented 9 years ago

Hi, @Jusas! I don't know, how you test your plugin in 4.6 :) ... Yesterday I've built and packaged clean simple UE 4.6.1 project with your plugin, checked out at commit https://github.com/Jusas/SQLite3UE4/commit/75c385f5ff131393158618a4c695f3a83c479bf9 and after packaging game not starting. Ie, problem not in UE 4.8 or UE 4.7... It's not working even in 4.6.1...

Symptoms are similar.

Is it really you successfully runned packaged game with your plugin in the past?

Jusas commented 9 years ago

I recall I did but I'm afraid I don't have the binaries stored anywhere anymore. I suspect it might have something to do with file paths, ie. not finding the files in the correct paths in the packaged game or something. Unfortunately I'm not much of help here, I'm not actively developing this plugin or anything in UE4 right now as I'm working on my own projects with Unity.

KhArtNJava commented 9 years ago

Why you choose Unity? UE much steeper engine! :)

KhArtNJava commented 8 years ago

Hello.

New fixes in my fork https://github.com/KhArtNJava/SQLite3UE4 : 1) Fixed crash in packaged project (Found and fixed bug - Yep, I did it!!!). 2) A lot of new BPs.