ProjectExodus icon indicating copy to clipboard operation
ProjectExodus copied to clipboard

NullReferenceExecption

Open leo0215 opened this issue 5 years ago • 5 comments

when i trying to export object,and got "NullReferenceException: Object reference not set to an instance of an object",and export process is terminated,is that mean scene have unsupported object?

leo0215 avatar Mar 03 '20 14:03 leo0215

It means you likely ran into a bug. Could you tell me your unity version and perhaps send over some sort of sample data that triggers this error? You can find the email address at the end of readme.

NegInfinity avatar Mar 03 '20 15:03 NegInfinity

I'm having the same issue. It is being triggered by this catch on my end:

else{
	logger.logWarningFormat("Unhandled asset type: {0}. path: {1}, guid: {2} ({3})", 
	assetType.Name, assetPath, guid, assetType);

Attempting to export an entire project using Unity 2019.2.0f1 and Windows 10 Pro v1909.

theDrGray avatar Jun 08 '20 18:06 theDrGray

Seems to work out well when I export a single scene.

theDrGray avatar Jun 08 '20 18:06 theDrGray

@theDrGray Hello there. Does the logger print anything, or is assetType null?

NegInfinity avatar Jun 08 '20 20:06 NegInfinity

Hi I think I found a solution for this, please see my comments in https://github.com/NegInfinity/ProjectExodus/issues/27

Weixuanf avatar Oct 12 '20 05:10 Weixuanf