starikcetin / Eflatun.SceneReference

Unity Scene References for Runtime and Editor. Strongly typed, robust, and reliable. Provides GUID, Path, Build Index, Name, and Address.
https://openupm.com/packages/com.eflatun.scenereference/
MIT License
467 stars 30 forks source link

I am getting a EmptySceneReferenceException on webgl build #107

Closed Buffoverflow closed 2 months ago

Buffoverflow commented 2 months ago

I am getting a EmptySceneReferenceException on a webgl build.

It works perfectly on Editor.

The Secene references are on a Scriptable object.

Unity 2021.3.34f1

EmptySceneReferenceException: [Eflatun.SceneReference] The SceneReference is empty (not assigned anything). To fix this, make sure the 'SceneReference' is assigned a valid scene asset.

image image

The list I use in runtime is the Random Scene List.

I am using Odin Serializer, not sure if its related

starikcetin commented 2 months ago

Hello, thank you for the report. Would you please share which version of Odin you are using?

starikcetin commented 2 months ago

I am also seeing some other errors in the log you shared. Please provide the full log.

Buffoverflow commented 2 months ago

Here is the full log: localhost-1724772740593.log

The Odin version I am using is 3.3.1.5

As you can see on the log, I have a SingletonScriptableObject issue, maybe its not related with SceneReference asset. I am looking into it now, will give you a feedback soon.

Buffoverflow commented 2 months ago

yes, its not related with SceneReference guys, sorry :S

starikcetin commented 2 months ago

No worries, glad you fixed it.