Skip to content
This repository was archived by the owner on Aug 22, 2018. It is now read-only.

NullReferenceException when trying to save #656

Open
agiro8747 opened this issue Mar 16, 2018 · 3 comments
Open

NullReferenceException when trying to save #656

agiro8747 opened this issue Mar 16, 2018 · 3 comments

Comments

@agiro8747
Copy link

agiro8747 commented Mar 16, 2018

Greetings,
I'm trying out your engine but when trying to save my scene I get a NullReferenceException.

Here's the message:

Error: There was a problem saving the solution. System.NullReferenceException: object reference is not set to an instance of the object.
on the following place: SiliconStudio.Assets.AssetItemExtensions.GetProjectInclude(AssetItem assetItem) place: C:\TeamCity\work\80a49494ba341a6a\sources\assets\SiliconStudio.Assets\AssetItemExtensions.cs, line: 19
on the following place: SiliconStudio.Assets.Package.Save(ILogger log, PackageSaveParameters saveParameters) place: C:\TeamCity\work\80a49494ba341a6a\sources\assets\SiliconStudio.Assets\Package.cs, line: 574
on the following place: SiliconStudio.Assets.PackageSession.Save(LoggerResult log, PackageSaveParameters saveParameters) place: C:\TeamCity\work\80a49494ba341a6a\sources\assets\SiliconStudio.Assets\PackageSession.cs, line: 661
on the following place: SiliconStudio.Assets.Editor.ViewModel.SessionViewModel.<>c__DisplayClass192_0.b__0() place: C:\TeamCity\work\80a49494ba341a6a\sources\editor\SiliconStudio.Assets.Editor\ViewModel\SessionViewModel.cs, line: 890

I tried my best to give a decent translation to English as my system is in Hungarian, but you probably wouldn't understand that gibberish.
Your engine looks quite promising. Please correct the issue if you have the time.

edit: btw your website contact form crashed as well when trying to reach you that way :D pls correct that as well.

@agiro8747
Copy link
Author

and, I'm using Xenko 2.1.2.1 btw.

@stefnotch
Copy link

stefnotch commented Mar 17, 2018

This usually means that at least one object in your scene is messed up. Load the project again and see if there are any errors or warnings (red and yellow text).

@agiro8747
Copy link
Author

Yup, that indeed solved it. Thanks for the assist!

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

No branches or pull requests

2 participants