- Home /
Question by
hectorux · Jun 23, 2018 at 12:02 PM ·
buildcoroutineruntimepost-process-effectcoroutine errors
My coroutine ends when i initialize a postprocessing setting
When i try to change my postprocessing profile on runetime in my build, it stops. On the viewport doesn`t stop and all work fine. My game is for windows.
IEnumerator MyCoroutine() {
ppb = cam.transform.GetComponent<PostProcessingBehaviour>().profile;
yield return new WaitForSeconds(0.1f);
DepthOfFieldModel.Settings df = ppb.depthOfField.settings;
//Stops Here
//Extra code
}
Comment