[M&M]Menus bugged, game unstable


#1

I have an issue after updating to the latest Add-on. The files have been verified, so it seems that this is the intended version.
Menus do not close cleanly and cause issues, as they persist when loading new stuff.

Please find screenshots attached. The action was as follows
First screenshot, normal main menu.
Second screenshot, clicked new game. The menu loads behind the main menu.
Third screenshot, selected bottom left mission, menus still present and overlapping.

This also leads to the game crashing, once I try to exit out of a mission. Although I can close the menus with escape and it appears like it looks fine, the game does not behave as it should in other instances as well.

Disabling the Add-on in the main menu fixes the issues, so it seems to be related to the expansion.







#2

Thanks for reporting this bug. Could you post your system specs? What platform are you on (Windows, Mac Linux)? I can’t reproduce this at my end. Could you attach your log file?:

Windows: Inside the installation directory Big Pharma_data\output_log.txt
Mac: ~/Library/Logs/Unity/Player.log
Linux: ~/.config/unity3d/Twice Circled/Big Pharma/Player.log


#3

Windows 7 Home Premium 64bit
Intel I5 2500
6GB RAM
Nvidia GTX 770
Any other information required?

If need be, I could add you on Steam to show you the issue first hand.

I cannot attach the txt file, so here it is:

[code]Initialize engine version: 4.6.0f3 (30840d631a27)
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 9.0c [nvd3dum.dll 10.18.13.6191]
Renderer: NVIDIA GeForce GTX 770
Vendor: NVIDIA
VRAM: 1989 MB (via DXGI)
Caps: Shader=30 DepthRT=1 NativeDepth=1 NativeShadow=1 DF16=0 INTZ=1 RAWZ=0 NULL=1 RESZ=0 SlowINTZ=0
Begin MonoManager ReloadAssembly
Platform assembly: E:\Games\SteamLibrary\steamapps\common\Big Pharma\Big Pharma_Data\Managed\UnityEngine.dll (this message is harmless)
Loading E:\Games\SteamLibrary\steamapps\common\Big Pharma\Big Pharma_Data\Managed\UnityEngine.dll into Unity Child Domain
Platform assembly: E:\Games\SteamLibrary\steamapps\common\Big Pharma\Big Pharma_Data\Managed\Assembly-CSharp-firstpass.dll (this message is harmless)
Loading E:\Games\SteamLibrary\steamapps\common\Big Pharma\Big Pharma_Data\Managed\Assembly-CSharp-firstpass.dll into Unity Child Domain
Platform assembly: E:\Games\SteamLibrary\steamapps\common\Big Pharma\Big Pharma_Data\Managed\Assembly-CSharp.dll (this message is harmless)
Loading E:\Games\SteamLibrary\steamapps\common\Big Pharma\Big Pharma_Data\Managed\Assembly-CSharp.dll into Unity Child Domain
Platform assembly: E:\Games\SteamLibrary\steamapps\common\Big Pharma\Big Pharma_Data\Managed\UnityEngine.UI.dll (this message is harmless)
Loading E:\Games\SteamLibrary\steamapps\common\Big Pharma\Big Pharma_Data\Managed\UnityEngine.UI.dll into Unity Child Domain

  • Completed reload, in 0.046 seconds
    Initializing input.

Input initialized.

desktop: 1920x1080 60Hz; virtual: 3600x1080 at -1680,0
Platform assembly: E:\Games\SteamLibrary\steamapps\common\Big Pharma\Big Pharma_Data\Managed\System.Core.dll (this message is harmless)
Platform assembly: E:\Games\SteamLibrary\steamapps\common\Big Pharma\Big Pharma_Data\Managed\System.dll (this message is harmless)
The referenced script on this Behaviour is missing!

(Filename: Line: 1788)

The referenced script on this Behaviour is missing!

(Filename: Line: 1788)

The referenced script on this Behaviour is missing!

(Filename: Line: 1788)

The referenced script on this Behaviour is missing!

(Filename: Line: 1788)

The referenced script on this Behaviour is missing!

(Filename: Line: 1788)

The referenced script on this Behaviour is missing!

(Filename: Line: 1788)

UserName = UsF

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

AppId = 344850

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

[SingletonPrefab] Using instance already created: Backbone

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Unloading 3 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 14664.
Total: 19.645493 ms (FindLiveObjects: 0.683583 ms CreateObjectMapping: 0.416107 ms MarkObjects: 17.842669 ms DeleteObjects: 0.108293 ms)

Start loading save game

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Number of gameobjects = 11658

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Start loading save game

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Number of gameobjects = 23099

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Unloading 2 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 1 unused Assets to reduce memory usage. Loaded Objects now: 107686.
Total: 100.666389 ms (FindLiveObjects: 7.918766 ms CreateObjectMapping: 0.655656 ms MarkObjects: 91.532196 ms DeleteObjects: 0.263131 ms)

Start loading save game

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Number of gameobjects = 13840

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 60651.
Total: 86.853233 ms (FindLiveObjects: 3.420398 ms CreateObjectMapping: 0.493681 ms MarkObjects: 82.495743 ms DeleteObjects: 0.151114 ms)

Start loading save game

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Number of gameobjects = 14734

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 103499.
Total: 105.254433 ms (FindLiveObjects: 5.773687 ms CreateObjectMapping: 0.682962 ms MarkObjects: 98.233978 ms DeleteObjects: 0.288575 ms)

Start loading save game

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Number of gameobjects = 23105

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 108028.
Total: 100.445465 ms (FindLiveObjects: 7.538033 ms CreateObjectMapping: 0.685755 ms MarkObjects: 91.732956 ms DeleteObjects: 0.207898 ms)

KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[System.String,Challenge].get_Item (System.String key) [0x00000] in :0

at GlobalSave.CalculateMedalFromCompletionTime (.ChallengeMedal saved) [0x00000] in :0

at GlobalSave+ChallengeMedal.GetMedal () [0x00000] in :0

at GlobalSave.GetChallengeMedal (System.String id) [0x00000] in :0

at BPSteamWorks.CheckChallengeCount (System.String[] challengeIds, System.String steamStatId, .MedalCount medalCount) [0x00000] in :0

at BPSteamWorks.UpdateMissionCompleteStats () [0x00000] in :0

at NewGameDialog.Init () [0x00000] in :0

at MainMenu.get_newGameDialog () [0x00000] in :0

at MainMenu.GotoNewGameMenu (Boolean instant) [0x00000] in :0

at MainMenu.m__113 () [0x00000] in :0

at (wrapper delegate-invoke) System.Action:invoke_void__this__ ()

at tk2dUIItem.Release (Nullable`1 touch) [0x00000] in :0

at tk2dUIManager.CheckInputs () [0x00000] in :0

at tk2dUIManager.Update () [0x00000] in :0

(Filename: Line: -1)

Start loading save game

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Number of gameobjects = 13835

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 66464.
Total: 77.865494 ms (FindLiveObjects: 3.636054 ms CreateObjectMapping: 0.526573 ms MarkObjects: 73.265968 ms DeleteObjects: 0.146770 ms)

NullReferenceException
at (wrapper managed-to-native) UnityEngine.Component:InternalGetTransform ()

at UnityEngine.Component.get_transform () [0x00000] in :0

at MainMenu.get_dialog () [0x00000] in :0

at MainMenu.get_dialogFader () [0x00000] in :0

at MainMenu.MenuIn (Boolean playSound) [0x00000] in :0

at NewGameDialog.m__125 (.AbstractGoTween t) [0x00000] in :0

at AbstractGoTween.onComplete () [0x00000] in :0

at GoTween.update (Single deltaTime) [0x00000] in :0

at Go.handleUpdateOfType (GoUpdateType updateType, Single deltaTime) [0x00000] in :0

at Go.Update () [0x00000] in :0

(Filename: Line: -1)

Start loading save game

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

Number of gameobjects = 14744

(Filename: C:/BuildAgent/work/d63dfc6385190b60/artifacts/StandalonePlayerGenerated/UnityEngineDebug.cpp Line: 49)

KeyNotFoundException: The given key was not present in the dictionary.
at System.Collections.Generic.Dictionary`2[System.String,Challenge].get_Item (System.String key) [0x00000] in :0

at GlobalSave.CalculateMedalFromCompletionTime (.ChallengeMedal saved) [0x00000] in :0

at GlobalSave+ChallengeMedal.GetMedal () [0x00000] in :0

at GlobalSave.GetChallengeMedal (System.String id) [0x00000] in :0

at BPSteamWorks.CheckChallengeCount (System.String[] challengeIds, System.String steamStatId, .MedalCount medalCount) [0x00000] in :0

at BPSteamWorks.UpdateMissionCompleteStats () [0x00000] in :0

at NewGameDialog.Init () [0x00000] in :0

at MainMenu.get_newGameDialog () [0x00000] in :0

at MainMenu.GotoNewGameMenu (Boolean instant) [0x00000] in :0

at Backbone.m__51 () [0x00000] in :0

at Backbone.CleanUpAndCreateMainMenu (.Callback preFade, .Callback postFade) [0x00000] in :0

at Backbone+c__AnonStorey43.<>m__53 () [0x00000] in :0

at Fader+c__Iterator8.MoveNext () [0x00000] in :0

(Filename: Line: -1)

Unloading 0 Unused Serialized files (Serialized files now loaded: 0 / Dirty serialized files: 0)

Unloading 0 unused Assets to reduce memory usage. Loaded Objects now: 107777.
Total: 110.341751 ms (FindLiveObjects: 6.597214 ms CreateObjectMapping: 0.671171 ms MarkObjects: 102.606674 ms DeleteObjects: 0.198900 ms)

[/code]


#4

Ah OK, we’re onto something here. Should be a relatively easy fix. Can you send me over your global.data save file? It should be here:

Windows - C:\Users\Tim\Documents\My Games\Big Pharma\Saves
Mac - /Library/Application Support/Big Pharma\Saves
Linux - $XDG_DATA_HOME/.local/share/Big Pharma\Saves

Thanks!


#5

Since I am not allowed to attach that file type either, here is a link to the file:
file-upload.net/download-115 … .data.html


#6

I figured it out! All fixed, just let your Steam client update the game and it should be fixed. Woop!

EDIT: You may need to restart your Steam client to prod it into updating. Please confirm with me that the issue is fixed, just to make sure though. :slight_smile:


#7

The issue seems to have been fixed. Thank you very much.