Skip to content

Projects fail to render on v0.1.568.0 #2033

@Gungyphant

Description

@Gungyphant

Acknowledgement

  • I have read Getting-Started and FAQ
  • If dealing with version 0.1.549 or higher, you have installed the .NET 8 runtime

🐛 Describe the bug

Every project fails to render on v0.1.568.0, regardless of what version the file was created on

Explains how to reproduce the bug

  1. Open any project
  2. Wait for the phonemizer to generate the phonemes
  3. Press play
  4. Wait for the playhead to reach shortly before the first sung note
  5. An error pop-up will appear stating that it failed to render as it could not find a file in the cache; clearing the cache does not change this
    Error popup details (the specific file varies, but it is always in Cache and the name always begins wdl-v1- and ends .wav:
Failed to render.
One or more errors occurred. (One or more errors occurred. (Could not find file 'C:\Users\Gungyphant\Documents\OpenUtau\Cache\wdl-v1-dbd31774a674918a.wav'.))

System.AggregateException: One or more errors occurred. (One or more errors occurred. (Could not find file 'C:\Users\Gungyphant\Documents\OpenUtau\Cache\wdl-v1-dbd31774a674918a.wav'.))
 ---> System.AggregateException: One or more errors occurred. (Could not find file 'C:\Users\Gungyphant\Documents\OpenUtau\Cache\wdl-v1-dbd31774a674918a.wav'.)
 ---> System.IO.FileNotFoundException: Could not find file 'C:\Users\Gungyphant\Documents\OpenUtau\Cache\wdl-v1-dbd31774a674918a.wav'.
File name: 'C:\Users\Gungyphant\Documents\OpenUtau\Cache\wdl-v1-dbd31774a674918a.wav'
   at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
   at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.Strategies.FileStreamHelpers.ChooseStrategyCore(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable`1 unixCreateMode)
   at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share)
   at NAudio.Wave.WaveFileWriter.CreateWaveFile(String filename, IWaveProvider sourceProvider)
   at OpenUtau.Classic.WorldlineRenderer.<>c__DisplayClass11_0.<Render>b__0() in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\Classic\WorldlineRenderer.cs:line 181
   at System.Threading.Tasks.Task`1.InnerInvoke()
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---
   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)
   at System.Threading.Tasks.Task.Wait(Int32 millisecondsTimeout, CancellationToken cancellationToken)
   at System.Threading.Tasks.Task.Wait()
   at OpenUtau.Core.Render.RenderEngine.RenderRequests(RenderPartRequest[] requests, CancellationTokenSource cancellation, Boolean playing) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\Render\RenderEngine.cs:line 235
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)
   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)
   --- End of inner exception stack trace ---

0.1.568.0

I have had this error with USTXs created in v0.1.568.0 and USTXs created in the version I was using prior to updating earlier today, which worked fine on that version, and with voicebanks that were working on the previous version; this error occurs every time, making OpenUTAU unusable
Tested using Kasane Teto's official voicebank
I could not attach the USTX as it fails to save (see issue #2032)

OS & Version

Windows 10

Logs

I deleted all the log files and reproduced the bug; no log file was created

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions