'Cross scene references are not supported' Warning Spam

Discussion and help for Easy Save 3
Post Reply
Kirrua
Posts: 6
Joined: Sat May 25, 2019 4:59 am

'Cross scene references are not supported' Warning Spam

Post 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!
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

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

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Kirrua
Posts: 6
Joined: Sat May 25, 2019 4:59 am

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

Post 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 :)
Kirrua
Posts: 6
Joined: Sat May 25, 2019 4:59 am

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

Post by Kirrua »

The problem quickly came back:
screen_shot.png
screen_shot.png (123.21 KiB) Viewed 4675 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.
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

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

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
User avatar
Jedyte
Posts: 3
Joined: Wed May 27, 2020 6:11 pm

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

Post 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 4150 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
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

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

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Kirrua
Posts: 6
Joined: Sat May 25, 2019 4:59 am

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

Post by Kirrua »

Any update on this? Been having this issue too!
User avatar
Joel
Moodkie Staff
Posts: 4826
Joined: Wed Nov 07, 2012 10:32 pm

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

Post 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
Joel @ Moodkie Interactive
Purchase Easy Save | Contact | Guides | Docs | Getting started
Post Reply