mapbox-unity-sdk icon indicating copy to clipboard operation
mapbox-unity-sdk copied to clipboard

Investigate SQLite initialization failure without .Net 3.5 installed

Open wilhelmberg opened this issue 7 years ago • 4 comments

  • Unity version: all current 2017.x
  • Mapbox SDK version: 1.3
  • The platform you're building to: most likely affects just Windows
  • A description of what you're trying to do: Trying to run SDK without .Net 3.5 installed results in:

    Failed to load 'Assets/Mapbox/Core/Plugins/sqlite/x64/sqlite3.dll' with error 'A dynamic link library (DLL) initialization routine failed.

  • Previous reports
    • #361
    • #496
  • Steps to recreate the bug if appropriate:
    • setup a vanilla system with just Unity and no .Net 3.5 Framework

TODO: build sqlite DLLs with higher and lower framework versions and figure out which works.

wilhelmberg avatar Jan 19 '18 12:01 wilhelmberg

Obivious workaround is to install .Net 3.5

https://www.microsoft.com/en-us/download/details.aspx?id=21

wilhelmberg avatar May 30 '18 15:05 wilhelmberg

Hi. Any progress with this issue? It would be good not having to force/instruct our end-users to install .Net 3.5?

JorgenEngenNapstad avatar Dec 09 '19 12:12 JorgenEngenNapstad

Yeah, this is a very bad sticking point for many of our military customers. They are not allowed to install certain things on their PCs. It's been a long time and complete silence on this.

Naphier avatar Dec 12 '19 16:12 Naphier

BUMP!

Having to rely on a 16 year old .NET Framework package should be considered a security issue in itself. If, you're not able to remove this old bloat, from main components, I suggest you fork the project into something like LTS for (defense?) industry and standard.

Unless there is a better workaround than .NET 3.5? It seem to rely on an old version of sqlite3.dll which could also be/become a security issue.

SQLite3 is very well maintained, so if this is the only dependency, there must be a better solution to integrate this. This is suggested in #1834

eabase avatar Oct 06 '24 14:10 eabase