xsolla / store-ue4-sdk

Xsolla Store plugin for Unreal Engine

Home Page:https://xsolla.com/products/store

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

The marketplace version of XsollaStore.cpp has a line that the github repo does not.

nonlin opened this issue · comments

Line 55 of XsollaStore.cpp has

	`FModuleManager::Get().UnloadModule("WebSockets");`

but the github repo seems to be missing it.

I was getting an access violation error for that line when closing Unreal (randomly) or pretty consistently when packaging project.

My solution was to change that line to this.

	`FModuleManager::Get().UnloadModule("WebSockets", true);`

Since it occurs during shutdown which without the true flag defaults to false.
That solved my issue but I'm wondering if the github repo solved it by just removing that line?
But both marketplace and and github repo say they are on the same version but clearly there is a difference.

Most recent commit 0.9.2 addressed this issue. Haven't tested it but assuming those who committed it have.