Page 1 of 1

'Cross scene references are not supported' Warning Spam

Posted: Sat May 25, 2019 5:02 am
by Kirrua
Hello there!

I am a happy user of Easy Save 2/3 but I recently I started receiving these warnings (and a lot of them):

Code: Select all

Cross scene references are not supported: 'Easy Save 3 Manager' in scene <SCENE_NAME> has an invalid reference to '<GAME_OBJECT_NAME>' in scene UI. This reference will not be saved in the scene.
UnityEditor.EditorApplication:Internal_CallGlobalEventHandler()
How can I prevent that?

My setup uses multiple scenes (one for lighting, one for UI elements, one per level, etc.), it seems Easy Save doesn't like that. I am not using any auto-save feature, I programmed all my save/load functions (if this matters).
How can I remove these warnings?

Thanks!

Re: 'Cross scene references are not supported' Warning Spam

Posted: Sat May 25, 2019 11:54 am
by Joel
Hi there,

I've had no reports of this. Please could you create a basic project which replicates this and PM it to me with instructions?

All the best,
Joel

Re: 'Cross scene references are not supported' Warning Spam

Posted: Sun May 26, 2019 6:34 am
by Kirrua
I have completely removed the package and re-installed it. Perhaps I was still using some old beta stuff.

I will report if any problem arises, thanks for the super quick reply :)

Re: 'Cross scene references are not supported' Warning Spam

Posted: Thu May 30, 2019 8:09 am
by Kirrua
The problem quickly came back:
screen_shot.png
screen_shot.png (123.21 KiB) Viewed 4748 times
I didn't have the time to make a project from scratch and try, since it doesn't occur right away.
Basically the problem seems to be related working with multiple scenes open at any given time.

Re: 'Cross scene references are not supported' Warning Spam

Posted: Thu May 30, 2019 4:58 pm
by Joel
Hi there,

I still am not able to replicate this at my end, so would appreciate if you would PM over a project to replicate this.

If you also PM me your invoice number, I can send over our upcoming update which changes the way in which the reference manager works, which could possibly fix your error.

All the best,
Joel

Re: 'Cross scene references are not supported' Warning Spam

Posted: Wed May 27, 2020 6:22 pm
by Jedyte
Sorry to resurrect this old thread, but it's the only link I can find, since I have the exact same problem:

Code: Select all

Cross scene references are not supported: 'Easy Save 3 Manager' in scene Scene1 has an invalid reference to 'GameObject2' in scene Scene2. This reference will not be saved in the scene. 
(Filename: C:\buildslave\unity\build\Editor/Src/BuildPipeline/BuildSerialization.cpp Line: 224)

'GameObject2' in scene Scene2 (click to ping it) 
(Filename: C:\buildslave\unity\build\Editor/Src/BuildPipeline/BuildSerialization.cpp Line: 226)

Cross scene references are not supported: 'Easy Save 3 Manager' in scene Scene1 has an invalid reference to 'GameObject2' in scene Scene2. This reference will not be saved in the scene. 
(Filename: C:\buildslave\unity\build\Editor/Src/BuildPipeline/BuildSerialization.cpp Line: 224)

'GameObject2' in scene Scene2 (click to ping it) 
(Filename: C:\buildslave\unity\build\Editor/Src/BuildPipeline/BuildSerialization.cpp Line: 226)

Screenshot 2020-05-27 200933.png
Screenshot 2020-05-27 200933.png (77.7 KiB) Viewed 4223 times
This is a test project. In my real one I get about 200 warnings.
How I think you can reproduce:
  • Make project with 2 scenes: Scene 1 and Scene 2
  • Add an empty GameObject to Scene 2
  • Add a Easy Save 3 Manager to Scene 1 (not Scene 2)
  • Set Scene 2 as active
  • Hit 'Play'
I can also give you this project to reproduce.

Jedyte

Re: 'Cross scene references are not supported' Warning Spam

Posted: Wed May 27, 2020 6:36 pm
by Joel
Hi Jedyte,

If you are able to private message the project which replicates this to me that would be great. Hopefully then I will be able to see what is happening.

You can upload this to something like WeTransfer or Google Drive and PM me the link if it's larger than the attachment limit.

All the best,
Joel

Re: 'Cross scene references are not supported' Warning Spam

Posted: Tue Jun 16, 2020 9:04 am
by Kirrua
Any update on this? Been having this issue too!

Re: 'Cross scene references are not supported' Warning Spam

Posted: Tue Jun 16, 2020 2:57 pm
by Joel
Hi there,

This issue was fixed in a previous version. If you're still having issues, please could you private message me a project which replicates this?

All the best,
Joel