- Home /
Need a script that will crash the standalone
Hi,
I need a script for the ending of my game that will cause the standalone to crash upon triggering a specific collider (when the player walks out a certain door he plummits / "falls forever"-- however there will be a thin box collider a little ways below so that after a short freefall the app crashes and causes the following crash notice: (except with the name of the app not terminal)
Does it matter what happens if the user hits the Report button?
You want your game to crash unexpectedly? That's got to be the worst UX design ever!
Either this is a terrible idea or you just want to create a Unity3d based virus... And even thought it wouldn´t be such a great virus!
i dont want to create a virus i just want the app to crash at the end when u fall, get it ?
Answer by amjcrawford · Nov 26, 2013 at 10:31 AM
i dont think so; it's for an art project / performance
Answer by yatagarasu · Nov 26, 2013 at 09:39 AM
Create an GameObject with Animator, add AnimationClip to it. add event to animation. Call gameObject.SetActive(false) in handler.
http://speedy.sh/hXGkP/New-Unity-Project-2.rar
here is demo project. works for unity 4.3. Maybe will work for every 4.x version need a check.
Why not just create a recursive loop? Simple, yet effective.
Your answer
Follow this Question
Related Questions
Script crashing unity. 1 Answer
Stamina Script causes Crashing? 2 Answers
Monodevelop crash my PC 2 Answers
Unity stops working when I play the game in editor 2 Answers
Unity crashes because of script 2 Answers