Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Error with export relating to audio output #1258

Closed
LordEnma opened this issue Mar 20, 2024 · 3 comments
Closed

[Bug]: Error with export relating to audio output #1258

LordEnma opened this issue Mar 20, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@LordEnma
Copy link

Are you on the latest version of AssetRipper?

Yes, I'm on the latest release of AssetRipper.

Which release are you using?

Windows x64

Which game did this occur on?

No response

Which Unity version did this occur on?

2020.3.13f1

Is the game Mono or IL2Cpp?

Mono

Describe the issue.

Whenever exporting the game starting with version 1.0.7, and error gets thrown out (see log for the actual error). Going back to previous versions, this does not occur, and it is only a warning, and the export is allowed to proceed. Since the only change that was made to sound in 1.0.7 was unrelated to a dependency, the bug is caused by a change that can be fixed without a dependency change.

Relevant log output

AssetRipper.log

@LordEnma LordEnma added the bug Something isn't working label Mar 20, 2024
@LordEnma LordEnma changed the title [Bug]: Error with export; consistent [Bug]: Error with export relating to audio output Mar 20, 2024
@FACS01-01
Copy link
Contributor

Don't spam issues please, you just closed #1240 to open a exact same one (but you forgot to add its for the game Yandere Simulator)

@ds5678
Copy link
Collaborator

ds5678 commented Mar 23, 2024

I see why it changed behavior in 1.0.7. I'll make this a log message.

Reference: SamboyCoding/Fmod5Sharp#11

@AraHaan
Copy link

AraHaan commented Apr 13, 2024

System.ArgumentOutOfRangeException: Specified argument was out of the range of valid values.
   at System.ThrowHelper.ThrowArgumentOutOfRangeException() + 0x24
   at Fmod5Sharp.FsbLoader.LoadInternal(Byte[], Boolean) + 0x348
   at AssetRipper.Export.UnityProjects.Audio.AudioClipDecoder.TryDecode(IAudioClip, Byte[]&, String&, String&) + 0x1fa
   at AssetRipper.Export.UnityProjects.Audio.AudioClipExporter.TryCreateCollection(IUnityObjectBase, IExportCollection&) + 0x50
   at AssetRipper.Export.UnityProjects.ProjectExporter.CreateCollection(IUnityObjectBase) + 0x85
   at AssetRipper.Export.UnityProjects.ProjectExporter.CreateCollections(GameBundle) + 0xd9
   at AssetRipper.Export.UnityProjects.ProjectExporter.Export(GameBundle, CoreConfiguration) + 0x32
   at AssetRipper.Export.UnityProjects.ExportHandler.Export(GameData, String) + 0x198
   at AssetRipper.GUI.Web.Pages.Commands.Export.<AssetRipper-GUI-Web-Pages-ICommand-Execute>d__0.MoveNext() + 0x118
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b
   at AssetRipper.GUI.Web.Pages.Commands.<HandleCommand>d__6`1.MoveNext() + 0xaf
--- End of stack trace from previous location ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b
   at AssetRipper.GUI.Web.ErrorHandlingMiddleware.<InvokeAsync>d__0.MoveNext() + 0x9f

@ds5678 ds5678 closed this as completed in 4b7e22c Apr 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants