Skip to content

LoadImageAtPathAsync crash #302

@Karen-W-2002

Description

@Karen-W-2002

Description of the bug

This is from the editor logs

Platform modules already initialized, skipping
Registering precompiled user dll's ...
Registered in 0.008776 seconds.
Asset Pipeline Refresh: Total: 2.021 seconds - Initiated by StopAssetImportingV2(ForceSynchronousImport | ForceDomainReload)
	Summary:
		Imports: total=0 (actual=0, local cache=0, cache server=0)
		Asset DB Process Time: managed=0 ms, native=80 ms
		Asset DB Callback time: managed=25 ms, native=0 ms
		Scripting: domain reloads=1, domain reload time=1913 ms, compile time=1 ms, other=0 ms
		Project Asset Count: scripts=3749, non-scripts=1562
		Asset File Changes: new=0, changed=0, moved=0, deleted=0
		Scan Filter Count: 0
	InvokeBeforeRefreshCallbacks: 0.458ms
	ApplyChangesToAssetFolders: 0.050ms
	Scan: 0.000ms
	OnSourceAssetsModified: 0.001ms
	InitializeImportedAssetsSnapshot: 9.617ms
	GetAllGuidsForCategorization: 0.525ms
	CategorizeAssets: 39.000ms
	ImportOutOfDateAssets: 1917.679ms (1915.198ms without children)
		CompileScripts: 1.020ms
		EnsureUptoDateAssetsAreRegisteredWithGuidPM: 0.741ms
		InitializingProgressBar: 0.000ms
		PostProcessAllAssetNotificationsAddChangedAssets: 0.451ms
		OnDemandSchedulerStart: 0.269ms
	ReloadSourceAssets: 0.985ms
	UnloadImportedAssets: 0.483ms
	PostProcessAllAssets: 25.648ms
	GatherAllCurrentPrimaryArtifactRevisions: 0.215ms
	UnloadStreamsBegin: 0.021ms
	LoadedImportedAssetsSnapshotReleaseGCHandles: 0.911ms
	GetLoadedSourceAssetsSnapshot: 1.566ms
	PersistCurrentRevisions: 0.149ms
	UnloadStreamsEnd: 0.022ms
	GenerateScriptTypeHashes: 0.804ms
	Untracked: 48.921ms
Loaded scene 'Temp/__Backupscenes/0.backup'
	Deserialize:            0.949 ms
	Integration:            237.259 ms
	Integration of assets:  0.002 ms
	Thread Wait Time:       0.121 ms
	Total Operation Time:   238.331 ms
You might not have cleaned up code-created Objects before they are force-deleted. Consider cleaning up on 'GlobalCallbacks::shutdownBeforeCleanupAllObjects'

=================================================================
	Native Crash Reporting
=================================================================
Got a UNKNOWN while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.

Reproduction steps

Using the function LoadImageAtPathAsync crashes, not all the time but when it does, this is what is displayed on the editor logs.

Platform specs

Please provide the following info if this is a Unity 3D repository.

  • Unity version: 2021.3.15f1
  • Platform: Windows
  • How did you download the plugin: Package Manager

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions