View Issue Details

IDProjectCategoryLast Update
0021552AI War 2Bug - AudioSep 3, 2019 5:10 pm
ReporterBadgerBadger Assigned ToChris_McElligottPark  
Status resolvedResolutionfixed 
Product Version0.885 The Audible Bodyguard 
Fixed in Version0.886 Zombie Homebodies 
Summary0021552: Weird 'could not find float variable' errors
DescriptionI've seen a number of errors like
Could not find float variable 'DeathsCriticalVolume' from the audio mixer!

  at System.Environment.get_StackTrace () [0x00000] in <1f0c1ef1ad524c38bbc5536809c46b48>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, System.Boolean IncludeStackTrace, Arcen.Universal.Verbosity Verbosity) [0x00000] in <928eae37d2af412eb013a7d207a07706>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.DebugLogDestination Destination, Arcen.Universal.Verbosity Verbosity) [0x00000] in <928eae37d2af412eb013a7d207a07706>:0
  at Arcen.Universal.ArcenDebugging.ArcenDebugLog (System.String Message, Arcen.Universal.Verbosity Verbosity) [0x00000] in <928eae37d2af412eb013a7d207a07706>:0
  at Arcen.Universal.ArcenMixerAndBuses+VolmeSetter..ctor (System.String Name) [0x00000] in <928eae37d2af412eb013a7d207a07706>:0
  at Arcen.Universal.ArcenMixerAndBuses.InitializeRoot (Arcen.Universal.ArcenMixerAndBuses R) [0x00000] in <928eae37d2af412eb013a7d207a07706>:0
  at Arcen.AIW2.Core.ExternalVisualCoreConstants.PostProcessAfterAllFiles () [0x00000] in <427248163a13433faf7210cf379b6a8e>:0
  at Arcen.Universal.ArcenAbstractExternalData.LoadFromDisk () [0x00000] in <928eae37d2af412eb013a7d207a07706>:0
  at PresentationLayer_AIW2.LoadVisualConstants_Early (System.Boolean IsReload) [0x00000] in <427248163a13433faf7210cf379b6a8e>:0
  at Arcen.AIW2.Core.Engine_AIW2+<LoadExternalDataEarly>c__Iterator0.MoveNext () [0x00000] in <ae2e07923a784992a2e5502831539b80>:0
  at UnityEngine.SetupCoroutine.InvokeMoveNext (System.Collections.IEnumerator enumerator, System.IntPtr returnValueAddress) [0x00000] in <3fa4aa4b4cbc43228580897c4aeed2f0>:0


and so on:

Could not find float variable 'DeathsOtherPlanetsVolume' from the audio mixer!
Could not find float variable 'DeathsRoutineVolume' from the audio mixer!
Could not find float variable 'DeathsOtherPlanetsMinorVolume' from the audio mixer!
<etc>

This seems weirdly inconsistent, but there is a
"Could not find float variable "AlertVolume" from the audio mixer" that happens every time I start the game.
TagsNo tags attached.

Activities

RocketAssistedPuffin

Aug 31, 2019 11:00 am

reporter   ~0052714

The settings these seem to mention don't appear to work for me at least - shot sounds do not change regardless of what the slider is.

BadgerBadger

Sep 3, 2019 12:19 am

manager   ~0052758

Many many people have reported this problem

Chris_McElligottPark

Sep 3, 2019 1:57 pm

administrator   ~0052774

Do the people in question definitely have the latest version of aiwar2sfx in GlobalBundles? I can't figure out why this would be affecting a bunch of people like this. Maybe steam didn't pick up the changes?

Here's a download link for something that should work: https://drive.google.com/open?id=1xtzx3qjtxdg9nL8sA3kR4HD0VVCqio03

Can anyone verify?

That just needs to be unzipped in the GlobalBundles of your game installation, overwriting whatever is there already.

BadgerBadger

Sep 3, 2019 2:08 pm

manager   ~0052775

I still hit this problem even with the new bundle:

(12:06:17) hostname:~/AIWar2/GlobalBundles $ mv ~/Downloads/aiwar2sfx.zip .
(12:06:49) hostname:~/AIWar2/GlobalBundles $ unzip aiwar2sfx.zip
Archive: aiwar2sfx.zip
replace aiwar2sfx? [y]es, [n]o, [A]ll, [N]one, [r]ename: A
  inflating: aiwar2sfx
  inflating: aiwar2sfx.manifest
(12:06:53) hostname:~/AIWar2/GlobalBundles $ cd ..
(12:06:54) hostname:~/AIWar2 $ ./AIWar2Linux.x86_64
.....
<Errors are hit>

RocketAssistedPuffin

Sep 3, 2019 2:15 pm

reporter   ~0052776

Same here.

Chris_McElligottPark

Sep 3, 2019 4:07 pm

administrator   ~0052778

That's actually reassuring, to be frank. It means Steam isn't having problems with its binary diffing. Why this is working for me is the next mystery.

BadgerBadger

Sep 3, 2019 4:36 pm

manager   ~0052781

Last edited: Sep 3, 2019 4:39 pm

The problem is the files are in GlobalBundles, but the game is looking in AssetBundles_Linux (or presumably its equivalent on other platforms)

I ran the game through strace and saw
[pid 14237] stat("/home/badger/AIWar2/AssetBundles_Linux/aiwar2sfx", <unfinished ...>
[pid 14237] lstat("/home/badger/AIWar2/AssetBundles_Linux/aiwar2sfx", <unfinished ...>
[pid 14237] stat("/home/badger/AIWar2/AssetBundles_Linux/aiwar2sfx", <unfinished ...>
[pid 14237] stat("/home/badger/AIWar2/AssetBundles_Linux/aiwar2sfx", <unfinished ...>
[pid 14237] stat("/home/badger/AIWar2/AssetBundles_Linux/aiwar2sfx", <unfinished ...>

I moved the files to AssetBundles_Linux and the problem went away.

RocketAssistedPuffin

Sep 3, 2019 4:44 pm

reporter   ~0052782

Confirmed on Windows. Had outdated sfx files in there from May, updated with this and tada.

Chris_McElligottPark

Sep 3, 2019 5:10 pm

administrator   ~0052783

Thanks!

* Fixes to the audio mixer stuff not working in the prior build:
** Fixed the steam builds folder to no longer include aiw2sfx as a bundle in the OS-specific folders, nor aiw2voice. Not sure why it was having old copies there, but it was looking there first instead of the GlobalBundles section.
** Split out the audio mixer stuff into aiw2soundframework, so that's a new bundle in the GlobalBundles section.

Issue History

Date Modified Username Field Change
Aug 31, 2019 4:12 am BadgerBadger New Issue
Aug 31, 2019 11:00 am RocketAssistedPuffin Note Added: 0052714
Sep 3, 2019 12:19 am BadgerBadger Assigned To => Chris_McElligottPark
Sep 3, 2019 12:19 am BadgerBadger Status new => assigned
Sep 3, 2019 12:19 am BadgerBadger Note Added: 0052758
Sep 3, 2019 1:57 pm Chris_McElligottPark Note Added: 0052774
Sep 3, 2019 2:08 pm BadgerBadger Note Added: 0052775
Sep 3, 2019 2:15 pm RocketAssistedPuffin Note Added: 0052776
Sep 3, 2019 4:07 pm Chris_McElligottPark Note Added: 0052778
Sep 3, 2019 4:36 pm BadgerBadger Note Added: 0052781
Sep 3, 2019 4:39 pm BadgerBadger Note Edited: 0052781
Sep 3, 2019 4:44 pm RocketAssistedPuffin Note Added: 0052782
Sep 3, 2019 5:10 pm Chris_McElligottPark Status assigned => resolved
Sep 3, 2019 5:10 pm Chris_McElligottPark Resolution open => fixed
Sep 3, 2019 5:10 pm Chris_McElligottPark Fixed in Version => 0.886 Zombie Homebodies
Sep 3, 2019 5:10 pm Chris_McElligottPark Note Added: 0052783