- Home /
Question by
SkaillZ · Apr 06, 2016 at 05:03 AM ·
editorbuildeditor-scriptingbuildpipeline
Cancel build in PostProcessScene?
I'm developing a translation system for Unity and need to check if all translation keys found in scenes exist. To accomplish that, I'm using an editor script with a PostProcessScene attribute. Now I'm looking for a way to cancel builds inside that script. Throwing an exception just displays it in the log but doesn't seem to affect the build. Is there any way to cancel the build from an editor script?
Comment
Your answer
Follow this Question
Related Questions
Create custom warning dialog on build, if a script or gameobject exists in the scene 2 Answers
Developer Console doesn't show up when using BuildOptions.Developer 0 Answers
Editor Coroutines and Playmode 0 Answers
Automate exclusion of specific Android plugin from build? 0 Answers
Copy a resource file to build directory? 3 Answers