extesy / DeckTracker

Universal Deck Tracker for collectible card games such as The Elder Scrolls: Legends and Eternal
Other
95 stars 26 forks source link

SQLiteException causes random issues like disappearing cards or missing card text #96

Closed extesy closed 7 years ago

extesy commented 7 years ago

I saw this on https://www.twitch.tv/iamcvh stream and this required restarting the game. If anyone can please confirm if it ever happened to them that would be very helpful.

VitaliyKulikov commented 7 years ago

confirm #97

VitaliyKulikov commented 7 years ago

here some screenshots:

extesy commented 7 years ago

@VitaliyKulikov How many SQLiteException entries do you see in error.log? Do new ones appear often or it's just one from the old days? I'm trying to figure out if there is any correlation or it's a coincidence.

VitaliyKulikov commented 7 years ago

@extesy i have 4 new. seems, those exceptions happen once or two per run. i always restart then i see such behaviour. add timestamp, so we will see for sure.

extesy commented 7 years ago

Should be fixed now in 1.0.60.

VitaliyKulikov commented 7 years ago

@extesy now game have small freezes on every draw (manipulating with deck list). no logging in error.log at all.

extesy commented 7 years ago

Your computer is probably not fast enough. Do micro-freezes happen only while drawing cards?

extesy commented 7 years ago

@VitaliyKulikov I actually have several questions that would help me localize the hot paths:

  1. Do micro-freezes happen only while drawing cards?
  2. If not, then what are all situations when it happens?
  3. Do micro-freezes still happen when you hide the deck list?
VitaliyKulikov commented 7 years ago

so, after some testing .. it's definitely performance-degradation last patch.

VitaliyKulikov commented 7 years ago

maybe it's related to my system: Windows 10 Pro 64-bit can, you build x64?

extesy commented 7 years ago

I think your computer might be just too slow. Unity application is a 32-bit process and there won't be any performance improvement in 64-bit mode anyways. Try latest version 1.0.61 because I've made some improvements there.

VitaliyKulikov commented 7 years ago

man, as i said performance-degradation. before, i hadn't any issues like that (<1.0.59). yep, i have tried 1.0.61 - same ((. without tracker game works well.

maybe, new build is related only for my configuration. i will try to investigate. recently, also new NVidia drivers have been updated. ... maybe i am overheated during game + tracker.

my system:


Summary
        Operating System
            Windows 10 Pro 64-bit
        CPU
            Intel Core i7 2670QM @ 2.20GHz  
            Sandy Bridge 32nm Technology
        RAM
            6.00GB Dual-Channel DDR3 @ 664MHz (9-9-9-24)
        Motherboard
            Dell Inc. 0VP036 (CPU)  
        Graphics
            Generic PnP Monitor (1600x900@60Hz)
            Intel (Dell)
            1023MB NVIDIA GeForce GT 525M (Dell)    
            ForceWare version: 384.94
            SLI Disabled
        Storage
            698GB Seagate ST9750420AS (SATA)    
        Optical Drives
            No optical disk drives detected
        Audio
            Realtek High Definition Audio
extesy commented 7 years ago

Theoretically performance degradation is possible because previously different threads were used for extra stuff and that's what caused SqliteExceptions and random in-game bugs. Now it all happens in the main Unity thread. But there's very little going on, so it shouldn't have been noticeable...

VitaliyKulikov commented 7 years ago

i have put graphics settings to low an even try to run on Intel graphics. so, freezes only with tracker

btw: i have found new type of exceptions:


Exception happened while attaching to mono thread
Exception happened while invoking DeckTracker.InGame.dll
VitaliyKulikov commented 7 years ago

https://www.twitch.tv/iamcvh have same issues

extesy commented 7 years ago

Let's switch to #21.

extesy commented 7 years ago

I think I know what's going on but this issue has nothing to do with the performance problem.

VitaliyKulikov commented 7 years ago

sure, np. it is just from user view. from technical i know the possible reasons.