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

errors when importing certain vpx tables. #468

Open
shntat123 opened this issue Apr 18, 2024 · 2 comments
Open

errors when importing certain vpx tables. #468

shntat123 opened this issue Apr 18, 2024 · 2 comments
Labels
feeback needed Waiting for feedback

Comments

@shntat123
Copy link

NullReferenceException: Object reference not set to an instance of an object
VisualPinball.Engine.VPT.Texture.get_Content () (at ./Library/PackageCache/[email protected]/VisualPinball.Engine/VPT/Texture.cs:68)
VisualPinball.Unity.Editor.VpxImageConverter.WriteAsAsset (VisualPinball.Engine.VPT.Texture texture, System.String folder, System.Boolean skipIfExists) (at ./Library/PackageCache/[email protected]/VisualPinball.Unity/VisualPinball.Unity.Editor/Import/VpxImageConverter.cs:47)
VisualPinball.Unity.Editor.VpxSceneConverter.ExtractTextures () (at ./Library/PackageCache/[email protected]/VisualPinball.Unity/VisualPinball.Unity.Editor/Import/VpxSceneConverter.cs:432)
VisualPinball.Unity.Editor.VpxSceneConverter.Convert (System.Boolean applyPatch, System.String tableName) (at ./Library/PackageCache/[email protected]/VisualPinball.Unity/VisualPinball.Unity.Editor/Import/VpxSceneConverter.cs:152)
VisualPinball.Unity.Editor.VpxImportEngine.ImportIntoScene (VisualPinball.Engine.VPT.Table.FileTableContainer tableContainer, System.String filename, UnityEngine.GameObject parent, System.Boolean applyPatch, System.String tableName, System.Diagnostics.Stopwatch sw, VisualPinball.Unity.Editor.ConvertOptions options) (at ./Library/PackageCache/[email protected]/VisualPinball.Unity/VisualPinball.Unity.Editor/Import/VpxImportEngine.cs:47)
VisualPinball.Unity.Editor.VpxImportEngine.ImportIntoScene (System.String path, UnityEngine.GameObject parent, System.Boolean applyPatch, System.String tableName, VisualPinball.Unity.Editor.ConvertOptions options) (at ./Library/PackageCache/[email protected]/VisualPinball.Unity/VisualPinball.Unity.Editor/Import/VpxImportEngine.cs:34)
VisualPinball.Unity.Editor.VpxMenuImporter.ImportVpxIntoScene (UnityEditor.MenuCommand menuCommand) (at ./Library/PackageCache/[email protected]/VisualPinball.Unity/VisualPinball.Unity.Editor/Import/VpxMenuImporter.cs:44)

@shntat123
Copy link
Author

it won't import when wav sound is present in vpx.

@freezy
Copy link
Owner

freezy commented Feb 8, 2025

Hey, sorry for the laggy response. I've merged a huge PR a few weeks ago. Could you post the file that results in that error? Then I'll include it in my test battery that I'm going to do in the next few weeks.

@freezy freezy added the feeback needed Waiting for feedback label Feb 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feeback needed Waiting for feedback
Projects
None yet
Development

No branches or pull requests

2 participants