Another easy fix. Workaround is to pass a Path object as the custom index path, not a str
Description
If you specify a custom index path for a WaveBank (presumably also EventBank) as a str, it gets attached to the bank as a str. This becomes a problem when reading the index because internally the bank is assuming a Path and treating it like a Path object.
Expected behavior
When a str gets passed, it should internally get converted to a Path object before being attached to the bank.
Versions (please complete the following information):
Affects all versions since commit 74897ccd.
Another easy fix. Workaround is to pass a
Path
object as the custom index path, not astr
Description If you specify a custom index path for a
WaveBank
(presumably alsoEventBank
) as astr
, it gets attached to the bank as astr
. This becomes a problem when reading the index because internally the bank is assuming aPath
and treating it like aPath
object.Expected behavior When a
str
gets passed, it should internally get converted to aPath
object before being attached to the bank.Versions (please complete the following information): Affects all versions since commit 74897ccd.