Closed htusa31 closed 8 months ago
Do you use some special antivirus/settings ? Considering it does not even produce log files it looks like SimHub is being "sandboxed" log files are being written as soon as it starts much earlier, that would also explain this crash as it means it can't access simply the sound card list.
I do not. The is from a fresh install on Windows. Is there a way to bypass Windows Antivirus. That would be the only thing running like that.
I am on Windows 11
-Justin
From: Wotever @.> Sent: Friday, December 15, 2023 11:29 AM To: SHWotever/SimHub @.> Cc: htusa31 @.>; Author @.> Subject: Re: [SHWotever/SimHub] An error occured while loading plugin (Issue #1492)
Do you use some special antivirus/settings ? Considering it does not even produce log files it looks like SimHub is being "sandboxed" log files are being written as soon as it starts much earlier, that would also explain this crash as it means it can't access simply the sound card list.
— Reply to this email directly, view it on GitHub https://github.com/SHWotever/SimHub/issues/1492#issuecomment-1858148124 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BEWNTJUNJJNMWIAFIMO7D2LYJR3FVAVCNFSM6AAAAABAWV3E26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYGE2DQMJSGQ . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BEWNTJWST3BG752MDR4MTF3YJR3FVA5CNFSM6AAAAABAWV3E26WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTOYELRY.gif Message ID: @. @.> >
At my knowledge defender does not do so aggressive sandboxing.
To disable defender for a test : https://support.microsoft.com/en-us/windows/turn-off-defender-antivirus-protection-in-windows-security-99e6004f-c54c-8509-773c-a4d776b77960
I would also take care of controlled folder access, this features unless you allow every exe manually and know exactly what you are doing is a true plague : https://support.microsoft.com/en-us/windows/allow-an-app-to-access-controlled-folders-b5b6627a-b008-2ca2-7931-7e51e912b034
What would I need to do to completely uninstall Simhub? Remove all components and such. Usually there is a uninstall tool. I have manually done this already but I think there is something still missing
Thanks,
Justin
From: Wotever @.> Sent: Friday, December 15, 2023 11:47 AM To: SHWotever/SimHub @.> Cc: htusa31 @.>; Author @.> Subject: Re: [SHWotever/SimHub] An error occured while loading plugin (Issue #1492)
At my knowledge defender does not do so aggressive sandboxing. To disable defender for a test : https://support.microsoft.com/en-us/windows/turn-off-defender-antivirus-protection-in-windows-security-99e6004f-c54c-8509-773c-a4d776b77960 I would also take care of controlled folder access, this features unless you allow every exe manually and know exactly what you are doing is a true plague : https://support.microsoft.com/en-us/windows/allow-an-app-to-access-controlled-folders-b5b6627a-b008-2ca2-7931-7e51e912b034
— Reply to this email directly, view it on GitHub https://github.com/SHWotever/SimHub/issues/1492#issuecomment-1858171433 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BEWNTJWNKPGALLAFOG2B35TYJR5GXAVCNFSM6AAAAABAWV3E26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYGE3TCNBTGM . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BEWNTJUJJGQ7APRL3G7RU5TYJR5GXA5CNFSM6AAAAABAWV3E26WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTOYFZCS.gif Message ID: @. @.> >
It's described here : https://github.com/SHWotever/SimHub/wiki/SimHub-Troubleshootings#full-reset
Since it was a fresh install with no customization you can skip the backup step. There is nothing to be saved.
Attached is the log file after a fresh install to the newest update
On Fri, Dec 15, 2023 at 12:19 PM Wotever @.***> wrote:
It's described here : https://github.com/SHWotever/SimHub/wiki/SimHub-Troubleshootings#full-reset
Since it was a fresh install with no customization you can skip the backup step. There is nothing to be saved.
— Reply to this email directly, view it on GitHub https://github.com/SHWotever/SimHub/issues/1492#issuecomment-1858222632, or unsubscribe https://github.com/notifications/unsubscribe-auth/BEWNTJUEWXTZL3U4TGRJTWTYJSBC5AVCNFSM6AAAAABAWV3E26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJYGIZDENRTGI . You are receiving this because you authored the thread.Message ID: @.***>
[2023-12-15 19:59:17,758] INFO - Starting SimHub v9.1.18 (build time : 15/12/2023 11:24:08)
[2023-12-15 19:59:17,759] ERROR - Windows Defender Controlled Folder Access : likely to be disabled
[2023-12-15 19:59:17,759] INFO - Administrator privileges : True
[2023-12-15 19:59:17,759] INFO - OS version : Microsoft Windows NT 10.0.22631.0, Windows 10.0.22631
[2023-12-15 19:59:17,759] INFO - License status : Free
[2023-12-15 19:59:17,759] INFO - Process priority : Normal
[2023-12-15 19:59:32,689] INFO - 87 game readers loaded
[2023-12-15 19:59:32,855] INFO - (Re)Starting AssettoCorsa Game Manager and plugin manager
[2023-12-15 19:59:32,856] INFO - Creating Assetto Corsa game manager (ACSharedMemory.ACManager)
[2023-12-15 19:59:32,859] INFO - AssettoCorsa game manager created
[2023-12-15 19:59:32,861] INFO - Checking configuration status for AssettoCorsa
[2023-12-15 19:59:32,861] INFO - Detected install path : None
[2023-12-15 19:59:32,861] INFO - Configuration status for AssettoCorsa: GameNotDetected
[2023-12-15 19:59:32,861] INFO - Creating plugin manager with plugins : SerialDashPlugin, AudioControlPlugin, JoystickPlugin, GraphicalDashPlugin, DevicesPlugin, KeyboardEmulatorPlugin, ShakeITBSV3Plugin, ShakeITMotorsV3Plugin, ShakeItWindPlugin, LapHitoryPlugin
[2023-12-15 19:59:32,880] INFO - Creating SimHub.Plugins.AudioControl.AudioPlayPlugin plugin
[2023-12-15 19:59:32,882] INFO - Creating SimHub.Plugins.DataPlugins.SystemInfosProvider plugin
[2023-12-15 19:59:32,884] INFO - Creating SimHub.Plugins.DataPlugins.Shell.ShellPlugin plugin
[2023-12-15 19:59:32,885] INFO - Creating SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin plugin
[2023-12-15 19:59:32,885] INFO - Creating SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin
[2023-12-15 19:59:32,885] INFO - Creating SimHub.Plugins.Web.WebPlugin plugin
[2023-12-15 19:59:32,887] INFO - Creating SimHub.Plugins.AudioControl.AudioControlPlugin plugin
[2023-12-15 19:59:32,888] INFO - Creating SimHub.Plugins.InputPlugins.JoystickPlugin plugin
[2023-12-15 19:59:32,888] INFO - Creating SimHub.Plugins.Devices.DevicesPlugin plugin
[2023-12-15 19:59:32,888] INFO - Creating SimHub.Plugins.OutputPlugins.Dash.SerialDashPlugin plugin
[2023-12-15 19:59:32,889] INFO - Creating SimHub.Plugins.OutputPlugins.GraphicalDash.GraphicalDashPlugin plugin
[2023-12-15 19:59:32,889] INFO - Creating SimHub.Plugins.DataPlugins.ShakeItWind.ShakeItWindPlugin plugin
[2023-12-15 19:59:32,889] INFO - Creating SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin
[2023-12-15 19:59:32,890] INFO - Creating SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITMotorsV3Plugin plugin
[2023-12-15 19:59:32,890] INFO - Creating SimHub.Plugins.DataPlugins.PersistantTracker.LapHitoryPlugin plugin
[2023-12-15 19:59:32,891] INFO - Creating SimHub.Plugins.KeyboardEmulator.KeyboardEmulatorPlugin plugin
[2023-12-15 19:59:32,891] INFO - Initialising SimHub.Plugins.DataPlugins.DataCore.DataCorePlugin plugin
[2023-12-15 19:59:32,966] INFO - Initialising SimHub.Plugins.DataPlugins.SystemInfosProvider plugin
[2023-12-15 19:59:32,990] INFO - Initialising SimHub.Plugins.DataPlugins.PersistantTracker.PersistantTrackerPlugin plugin
[2023-12-15 19:59:32,991] INFO - Initialising SimHub.Plugins.AudioControl.AudioControlPlugin plugin
[2023-12-15 19:59:32,992] INFO - Initialising SimHub.Plugins.Devices.DevicesPlugin plugin
[2023-12-15 19:59:33,057] INFO - Initialising SimHub.Plugins.DataPlugins.ShakeItWind.ShakeItWindPlugin plugin
[2023-12-15 19:59:33,062] INFO - Initialising SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITBSV3Plugin plugin
[2023-12-15 19:59:33,093] ERROR - System.InvalidCastException: Unable to cast COM object of type 'System.ComObject' to interface type 'NAudio.CoreAudioApi.Interfaces.IMMDevice'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D666063F-1587-4E43-81F1-B948E807363F}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr pUnk, IntPtr itfMT, IntPtr classMT, Int32 flags)
at NAudio.CoreAudioApi.Interfaces.IMMDeviceEnumerator.GetDefaultAudioEndpoint(DataFlow dataFlow, Role role, IMMDevice& endpoint)
at NAudio.CoreAudioApi.MMDeviceEnumerator.GetDefaultAudioEndpoint(DataFlow dataFlow, Role role)
at SimHub.Plugins.DataPlugins.ShakeItV3.Settings.Audio.AudioOutputListManager.GetDevices()
[2023-12-15 19:59:33,096] ERROR - System.InvalidCastException: Unable to cast COM object of type 'System.__ComObject' to interface type 'NAudio.CoreAudioApi.Interfaces.IMMDevice'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{D666063F-1587-4E43-81F1-B948E807363F}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).
at System.StubHelpers.InterfaceMarshaler.ConvertToManaged(IntPtr pUnk, IntPtr itfMT, IntPtr classMT, Int32 flags)
at NAudio.CoreAudioApi.Interfaces.IMMDeviceCollection.Item(Int32 deviceNumber, IMMDevice& device)
at NAudio.CoreAudioApi.MMDeviceCollection.2.set_CurrentGame(String value) at SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITV3PluginBase
1.LoadSettings()
at SimHub.Plugins.DataPlugins.ShakeItV3.ShakeITV3PluginBase`1.Init(PluginManager pluginManager)
at SimHub.Plugins.PluginManager.1.MoveNext() at System.Collections.ObjectModel.ObservableCollection
1.CopyFrom(IEnumerable1 collection) at System.Collections.ObjectModel.ObservableCollection
1..ctor(IEnumerable1 collection) at SimHub.Plugins.UI.ControlsEditorModel..ctor(String ActionName, String friendlyName) at SimHub.Plugins.UI.ControlsEditor.ActionNameChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType) at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue) at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange) at System.Windows.Data.BindingExpression.Activate(Object item) at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt) at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance) at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance) at MS.Internal.Data.DataBindEngine.Run(Object arg) at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(Object sender, EventArgs e) at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent() at System.Windows.ContextLayoutManager.UpdateLayout() at System.Windows.UIElement.UpdateLayout() at SimHubWPF.Controls.LoadingSplash.SetStatus(String s, Boolean addDots) at ?.?.<>c__DisplayClass13_3.<App_Startup>b__23() at System.Windows.Threading.Dispatcher.Invoke(Action callback, DispatcherPriority priority, CancellationToken cancellationToken, TimeSpan timeout) at System.Windows.Threading.Dispatcher.Invoke(Action callback) at ?.?.<>c.<App_Startup>b__13_22(String s) at SimHubWPF.MainWindow.<>c__DisplayClass48_0.<LoadPluginsControls>b__0() at System.Windows.Threading.DispatcherOperation.InvokeDelegateCore() at System.Windows.Threading.DispatcherOperation.InvokeImpl() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at SimHubWPF.MainWindow.<LoadPluginsControls>d__48.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) at SimHubWPF.MainWindow.<ChangeGame>d__42.MoveNext() [2023-12-15 19:59:39,638] ERROR - Error while loading game manager System.NullReferenceException: Object reference not set to an instance of an object. at SimHub.Plugins.UI.ControlsEditorModel.<>c__DisplayClass12_0.<.ctor>b__0(InputMapping j) at System.Linq.Enumerable.WhereEnumerableIterator
1.MoveNext()
at System.Collections.ObjectModel.ObservableCollection1.CopyFrom(IEnumerable
1 collection)
at System.Collections.ObjectModel.ObservableCollection1..ctor(IEnumerable
1 collection)
at SimHub.Plugins.UI.ControlsEditorModel..ctor(String ActionName, String friendlyName)
at SimHub.Plugins.UI.ControlsEditor.ActionNameChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)
at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)
at System.Windows.DependencyObject.UpdateEffectiveValue(EntryIndex entryIndex, DependencyProperty dp, PropertyMetadata metadata, EffectiveValueEntry oldEntry, EffectiveValueEntry& newEntry, Boolean coerceWithDeferredReference, Boolean coerceWithCurrentValue, OperationType operationType)
at System.Windows.DependencyObject.InvalidateProperty(DependencyProperty dp, Boolean preserveCurrentValue)
at System.Windows.Data.BindingExpressionBase.Invalidate(Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.TransferValue(Object newValue, Boolean isASubPropertyChange)
at System.Windows.Data.BindingExpression.Activate(Object item)
at System.Windows.Data.BindingExpression.AttachToContext(AttachAttempt attempt)
at System.Windows.Data.BindingExpression.MS.Internal.Data.IDataBindEngineClient.AttachToContext(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Task.Run(Boolean lastChance)
at MS.Internal.Data.DataBindEngine.Run(Object arg)
at MS.Internal.Data.DataBindEngine.OnLayoutUpdated(Object sender, EventArgs e)
at System.Windows.ContextLayoutManager.fireLayoutUpdateEvent()
at System.Windows.ContextLayoutManager.UpdateLayout()
at System.Windows.UIElement.UpdateLayout()
at SimHubWPF.Controls.LoadingSplash.SetStatus(String s, Boolean addDots)
at ?.?.<>cDisplayClass13_3.
Hi ! Apparently you have something broken about the sound cards, can you check if you don't have any specific sound cards (virtual sound card etc ...)
Alternatively to get back all the other features to work you can disable the shakeit bass shakers plugin in the global settings :
I agree.
Thank you. I found the issue I think
New install and the drivers are no longer available.
I have a sound card inbound.
Thank you for the help.
-Justin
From: Wotever @.> Sent: Monday, December 18, 2023 3:35 AM To: SHWotever/SimHub @.> Cc: htusa31 @.>; Author @.> Subject: Re: [SHWotever/SimHub] An error occured while loading plugin (Issue #1492)
Hi ! Apparently you have something broken about the sound cards, can you check if you don't have any specific sound cards (virtual sound card etc ...)
Alternatively to get back all the other features to work you can disable the shakeit bass shakers plugin in the global settings :
image.png (view on web) https://github.com/SHWotever/SimHub/assets/2207331/61723e8e-1346-4e8a-b470-c6b35be5e8a1
— Reply to this email directly, view it on GitHub https://github.com/SHWotever/SimHub/issues/1492#issuecomment-1859785887 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BEWNTJT3WDN3AZGQ7BZJ5TLYJ752RAVCNFSM6AAAAABAWV3E26VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNJZG44DKOBYG4 . You are receiving this because you authored the thread. https://github.com/notifications/beacon/BEWNTJSPBOS3GWI2VXZHPITYJ752RA5CNFSM6AAAAABAWV3E26WGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTO3IKJ6.gif Message ID: @. @.> >
Describe the bug I can't open Simhub
Simhub version I have the latest version as of last night
Third party plugins I don't have any third party plug ins. I just downloaded and installed.
To Reproduce Steps to reproduce the behavior:
Expected behavior I expect it to open simhub for me to customize
Screenshots![image](https://github.com/SHWotever/SimHub/assets/153934246/1d18c122-3e2d-458d-b12b-d15b54c596be)
Log files There are no log files available. It wont even open to create a log file
How to attach files : https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files
Additional context Add any other context about the problem here.