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

[SALVL] Crashing on Level Loading #270

Open
ExtCan opened this issue Sep 23, 2024 · 3 comments
Open

[SALVL] Crashing on Level Loading #270

ExtCan opened this issue Sep 23, 2024 · 3 comments
Labels

Comments

@ExtCan
Copy link

ExtCan commented Sep 23, 2024

Please confirm the following:

  • [✓] I am using the latest version of SA Tools.

  • [?] The problem is consistently reproducible.

  • [✓] I have looked through the list of open issues and confirmed that the problem hasn't been reported before.

Hiya! I'm learning about importing stages, I've run into a predicament.

Whenever I open a stage in SALVL, it doesn't matter if it's custom or not, I get this error and it crashes.
I can't actually copy the error nor expand it due to it completely freezing up. All I could get is this screenshot.

I don't know if it can be reproduced by others, hence the question mark.

I'm sorry to bother!

----Log----
SALVL: New log entry on 23/09/2024 18:40:28

Build Date:
09/15/2024 04:44:55
OS Version:
Microsoft Windows NT 10.0.19045.0

----Loading a new level: Emerald Coast 3----
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\SONIC.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\SON_EFF.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\MILES.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\KNU_EFF.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\KNUCKLES.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\AMY.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\AMY_EFF.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\E102.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\E102BEAM.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\E102EFFECT.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\E102TIME.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\E102HIT.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\FISHING.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\BIG.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\BIG_KAERU.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\OBJ_REGULAR.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\EFF_REGULAR.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\CON_REGULAR.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\HINT.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\EXTRA.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\EME_KIRAN.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\Mission.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\mi_3dasu.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\SUPI_SUPI.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\mecha.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\sa_xmas.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\OBJ_BEACH.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\BEACH_SEA.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\E_SAI.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\BG_BEACH.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\E_AMENBO.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\ishidai.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\E_SARU.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\big_kaeru.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\kajiki.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\PEN.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\KOAR.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\RAKO.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\sea_bass.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\USA.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\utsubo.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\GOMA.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\tai.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\hammer.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\same.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\TOGEBALL_TOGEBALL.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\E_BOMB.PVM
Loading textures: D:\SteamLibrary\steamapps\common\Sonic Adventure DX\system\BEACH03.PVM
----Level load complete: Emerald Coast 3----

System.MissingMethodException: Method not found: 'SharpDX.Direct3D9.Texture[] SAModel.SAEditorCommon.SETEditing.ObjectHelper.GetTextures(System.String, SplitTools.TexnameArray, SharpDX.Direct3D9.Device)'.
at SADXObjectDefinitions.Level_Effects.EmeraldCoast.Render(Device dev, EditorCamera cam)
at SAModel.SALVL.MainForm.DrawLevel() in C:\Programs\sa_tools\SALVL\DrawLevel.cs:line 44
at SAModel.SALVL.MainForm.JumpToStartPos() in C:\Programs\sa_tools\SALVL\MainForm.cs:line 1604
at SAModel.SALVL.MainForm.backgroundWorker1_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) in C:\Programs\sa_tools\SALVL\Loading.cs:line 483
at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
at System.Reflection.MethodInvoker.Invoke(Object obj, IntPtr* args, BindingFlags invokeAttr)
SharpDX.SharpDXException: HRESULT: [0x8876086C], Module: [SharpDX.Direct3D9], ApiCode: [D3DERR_INVALIDCALL/InvalidCall], Message: Unknown
at SharpDX.Result.CheckError()
at SharpDX.Direct3D9.Device.BeginScene()
at SAModel.SALVL.MainForm.DrawLevel() in C:\Programs\sa_tools\SALVL\DrawLevel.cs:line 36
at SAModel.SALVL.MainForm.HandleWaitLoop(Object sender, EventArgs e) in C:\Programs\sa_tools\SALVL\RenderLoop.cs:line 16
at System.Windows.Forms.Application.ThreadContext.Interop.Mso.IMsoComponent.FDoIdle(msoidlef grfidlef)
at System.Windows.Forms.Application.ComponentManager.Interop.Mso.IMsoComponentManager.FPushMessageLoop(UIntPtr dwComponentID, msoloop uReason, Void* pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(msoloop reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(msoloop reason, ApplicationContext context)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at SAModel.SALVL.MainForm.Application_ThreadException(Object sender, ThreadExceptionEventArgs e) in C:\Programs\sa_tools\SALVL\MainForm.cs:line 71
at System.Windows.Forms.Application.ThreadContext.OnThreadException(Exception t)
at System.Windows.Forms.Control.InvokeMarshaledCallbacks()
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

@ExtCan
Copy link
Author

ExtCan commented Nov 16, 2024

Just gonna bump this 2 months later lmao.

@PiKeyAr
Copy link
Member

PiKeyAr commented Nov 16, 2024

This is a Direct3D error, the program didn't even get to drawing the level. The most likely cause is your GPU or drivers not meeting the requirements to run the SA Tools.

@ExtCan
Copy link
Author

ExtCan commented Nov 16, 2024

This is a Direct3D error, the program didn't even get to drawing the level. The most likely cause is your GPU or drivers not meeting the requirements to run the SA Tools.

That makes no sense to me, I'm using a 3060 with the latest drivers. I just redownloaded the program and now the unmodified levels run fine, BUT when I load a SET which includes my custom landtable, I get cucked. But I can load the landtable on it's own and import it into other SETs fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants