Percistent data between editor and game


I’m writing a plugin and the C++ side loads a lot of data and communicates that to unity.

It works fine in the game but now we also want it to work inside the editor.

Problem is that when we start the game (inside the editor) all the data is cleaned (so we would have to restart the entire process inside C++ ).
Is there any way I can load this data (inside the editor) but maintain it when I start the game ?


You might be able to work with PlayerPrefs.