OpenUTAU crashes when creating a new project.
Acknowledgement
- [x] I have read Getting-Started and FAQ
🐛 Describe the bug
The bug happens when I open the OpenUTAU application and click on 'new' or 'open'.
Explains how to reproduce the bug
https://github.com/user-attachments/assets/2712d33c-aeb0-4f2b-92ba-cc17e2e4490d
- go to the OpenUTAU app
- click in new or open
- (only in open local project) Choose an ust file
- crash
OS & Version
Windows 10
Logs
Falha ao abrir: C:\Users\Casa-PC\Music\harm2.ust Object reference not set to an instance of an object.
System.NullReferenceException: Object reference not set to an instance of an object.
at OpenUtau.App.Controls.PartsCanvas.<.ctor>b__26_4(TimeAxisChangedEvent e) in D:\a\OpenUtau\OpenUtau\OpenUtau\Controls\PartsCanvas.cs:line 100
at System.Reactive.AnonymousSafeObserver1.OnNext(T value) at System.Reactive.Sink1.ForwardOnNext(TTarget value)
at System.Reactive.Linq.ObservableImpl.Skip1.Count._.OnNext(TSource value) at System.Reactive.SafeObserver1.WrappingSafeObserver.OnNext(TSource value)
at System.Reactive.Sink1.ForwardOnNext(TTarget value) at System.Reactive.ObserveOnObserverNew1.DrainStep(ConcurrentQueue1 q) at System.Reactive.ObserveOnObserverNew1.DrainShortRunning(IScheduler recursiveScheduler)
at System.Reactive.ObserveOnObserverNew1.<>c.<.cctor>b__17_0(IScheduler scheduler, ObserveOnObserverNew1 self)
at System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func3 action) at System.Reactive.Concurrency.LocalScheduler.Schedule[TState](TState state, Func3 action)
at System.Reactive.ObserveOnObserverNew1.Schedule() at System.Reactive.ObserveOnObserverNew1.OnNext(T value)
at System.Reactive.Subjects.BehaviorSubject1.OnNext(T value) at ReactiveUI.ScheduledSubject1.OnNext(T value) in //src/ReactiveUI/Scheduler/ScheduledSubject.cs:line 52
at ReactiveUI.MessageBus.SendMessage[T](T message, String contract) in //src/ReactiveUI/Routing/MessageBus.cs:line 129
at OpenUtau.App.ViewModels.PlaybackViewModel.OnNext(UCommand cmd, Boolean isUndo) in D:\a\OpenUtau\OpenUtau\OpenUtau\ViewModels\PlaybackViewModel.cs:line 88
at OpenUtau.Core.DocManager.Publish(UCommand cmd, Boolean isUndo) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\DocManager.cs:line 353
at OpenUtau.Core.DocManager.ExecuteCmd(UCommand cmd) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\DocManager.cs:line 225
at OpenUtau.Core.Format.Formats.LoadProject(String[] files) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\Format\Formats.cs:line 90
at OpenUtau.App.ViewModels.MainWindowViewModel.OpenProject(String[] files) in D:\a\OpenUtau\OpenUtau\OpenUtau\ViewModels\MainWindowViewModel.cs:line 169
at OpenUtau.App.Views.MainWindow.Open() in D:\a\OpenUtau\OpenUtau\OpenUtau\Views\MainWindow.axaml.cs:line 223
0.1.565.0
I'm finding the program difficult; can you help me?
Hi, I have the same issue after recent upgrade
2025-10-29 22:34:11.900 +01:00 [ERR] Unhandled exception
System.NullReferenceException: Object reference not set to an instance of an object.
at OpenUtau.App.Controls.PartsCanvas.<.ctor>b__26_4(TimeAxisChangedEvent e) in D:\a\OpenUtau\OpenUtau\OpenUtau\Controls\PartsCanvas.cs:line 100
at System.Reactive.AnonymousSafeObserver`1.OnNext(T value)
at System.Reactive.Sink`1.ForwardOnNext(TTarget value)
at System.Reactive.Linq.ObservableImpl.Skip`1.Count._.OnNext(TSource value)
at System.Reactive.SafeObserver`1.WrappingSafeObserver.OnNext(TSource value)
at System.Reactive.Sink`1.ForwardOnNext(TTarget value)
at System.Reactive.ObserveOnObserverNew`1.DrainStep(ConcurrentQueue`1 q)
at System.Reactive.ObserveOnObserverNew`1.DrainShortRunning(IScheduler recursiveScheduler)
at System.Reactive.ObserveOnObserverNew`1.<>c.<.cctor>b__17_0(IScheduler scheduler, ObserveOnObserverNew`1 self)
at System.Reactive.Concurrency.CurrentThreadScheduler.Schedule[TState](TState state, TimeSpan dueTime, Func`3 action)
at System.Reactive.Concurrency.LocalScheduler.Schedule[TState](TState state, Func`3 action)
at System.Reactive.ObserveOnObserverNew`1.Schedule()
at System.Reactive.ObserveOnObserverNew`1.OnNext(T value)
at System.Reactive.Subjects.BehaviorSubject`1.OnNext(T value)
at ReactiveUI.ScheduledSubject`1.OnNext(T value) in /_/src/ReactiveUI/Scheduler/ScheduledSubject.cs:line 52
at ReactiveUI.MessageBus.SendMessage[T](T message, String contract) in /_/src/ReactiveUI/Routing/MessageBus.cs:line 129
at OpenUtau.App.ViewModels.PlaybackViewModel.OnNext(UCommand cmd, Boolean isUndo) in D:\a\OpenUtau\OpenUtau\OpenUtau\ViewModels\PlaybackViewModel.cs:line 88
at OpenUtau.Core.DocManager.Publish(UCommand cmd, Boolean isUndo) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\DocManager.cs:line 353
at OpenUtau.Core.DocManager.ExecuteCmd(UCommand cmd) in D:\a\OpenUtau\OpenUtau\OpenUtau.Core\DocManager.cs:line 225
at OpenUtau.App.ViewModels.MainWindowViewModel.NewProject() in D:\a\OpenUtau\OpenUtau\OpenUtau\ViewModels\MainWindowViewModel.cs:line 159
at OpenUtau.App.Views.MainWindow.NewProject() in D:\a\OpenUtau\OpenUtau\OpenUtau\Views\MainWindow.axaml.cs:line 201
at System.Threading.Tasks.Task.<>c.<ThrowAsync>b__128_0(Object state)
at Avalonia.Threading.SendOrPostCallbackDispatcherOperation.InvokeCore()
at Avalonia.Threading.DispatcherOperation.Execute()
at Avalonia.Threading.Dispatcher.ExecuteJob(DispatcherOperation job)
at Avalonia.Threading.Dispatcher.ExecuteJobsCore(Boolean fromExplicitBackgroundProcessingCallback)
at Avalonia.Threading.Dispatcher.Signaled()
at Avalonia.Win32.Win32Platform.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam)
at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
at Avalonia.Win32.Win32DispatcherImpl.RunLoop(CancellationToken cancellationToken)
at Avalonia.Threading.DispatcherFrame.Run(IControlledDispatcherImpl impl)
at Avalonia.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken)
at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.StartCore(String[] args)
at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime(AppBuilder builder, String[] args, ShutdownMode shutdownMode)
at OpenUtau.App.Program.Main(String[] args) in D:\a\OpenUtau\OpenUtau\OpenUtau\Program.cs:line 43
2025-10-29 22:34:11.912 +01:00 [INF] Saving backup C:\Users\aaarr\AppData\Local\OpenUtau-win-x86\Backups\Untitled-backup.ustx.
2025-10-29 22:34:11.929 +01:00 [INF] Saved backup C:\Users\aaarr\AppData\Local\OpenUtau-win-x86\Backups\Untitled-backup.ustx.
OS & Version
- OS: Windows 11
- OpenUtau version: v.0.1.565.0
Update:
- I've tried building from source and reproducing the issue, no luck there unfortunately
- For some reason I had win-x86 (32bit) release installed, re-installing x64 version solved the issue.
Another related issue, want to make sure it isn't lost for not being in English: #1776