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 · 1 comment
Open

errors when importing certain vpx tables. #468

shntat123 opened this issue Apr 18, 2024 · 1 comment

Comments

@shntat123
Copy link

NullReferenceException: Object reference not set to an instance of an object
VisualPinball.Engine.VPT.Texture.get_Content () (at ./Library/PackageCache/org.visualpinball.engine.unity@0.0.1-preview.130/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/org.visualpinball.engine.unity@0.0.1-preview.130/VisualPinball.Unity/VisualPinball.Unity.Editor/Import/VpxImageConverter.cs:47)
VisualPinball.Unity.Editor.VpxSceneConverter.ExtractTextures () (at ./Library/PackageCache/org.visualpinball.engine.unity@0.0.1-preview.130/VisualPinball.Unity/VisualPinball.Unity.Editor/Import/VpxSceneConverter.cs:432)
VisualPinball.Unity.Editor.VpxSceneConverter.Convert (System.Boolean applyPatch, System.String tableName) (at ./Library/PackageCache/org.visualpinball.engine.unity@0.0.1-preview.130/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/org.visualpinball.engine.unity@0.0.1-preview.130/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/org.visualpinball.engine.unity@0.0.1-preview.130/VisualPinball.Unity/VisualPinball.Unity.Editor/Import/VpxImportEngine.cs:34)
VisualPinball.Unity.Editor.VpxMenuImporter.ImportVpxIntoScene (UnityEditor.MenuCommand menuCommand) (at ./Library/PackageCache/org.visualpinball.engine.unity@0.0.1-preview.130/VisualPinball.Unity/VisualPinball.Unity.Editor/Import/VpxMenuImporter.cs:44)

@shntat123
Copy link
Author

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

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

No branches or pull requests

1 participant