- Home /
Question by
luigicenn · Jan 26, 2017 at 08:45 AM ·
script.serializationmonodevelopproblem during runtime
problem with serialization(?)
i've runned into this problem. i've a script that call another. i attached the script in the editor by drag and dropping it. the problems comes when i hit play mode, the script attached is lost, but if i stop play mode, it reappears in the editor. i think that is a problem of serialization(?) but i even don't know how to pass it. this is how i call the script.
public class secondo : MonoBehaviour {
public primo prim;
// Use this for initialization
void Start () {
prim = GetComponent<primo> ();
}
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612105511im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
My mouse sensitivity value don't update in other function than sliderValueChange 0 Answers
Particle System through Script 1 Answer
Please help my head is burning from this problem : i have multiple gameobject , same script 1 Answer
Two scenes working the same with one script 0 Answers
Serialize data to XML File, then send via email as attachment on iOS. 0 Answers