Skip to content

The fun game of bugs πŸžπŸ¦‹πŸ›πŸœπŸ•·

Notifications You must be signed in to change notification settings

bruno-garcia/unity-of-bugs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Unity of Bugs

A set of different programming errors that would cause errors on a real world game.
This serves as a test project for crash reporting tools.

Current cases

  • Assert False - only relevant on the editor (unless BuildOptions.ForceEnableAssertions=true).
  • C# throw null - unhandled by user code.
  • C# throw/try/catch and Debug.LogException.
  • C# Log an instance of an Exception as a String - The raw Exception.ToString().
  • C# Unity Log.Debug calls.
  • Android: Kotlin throw Exception - unhandled by user code.
  • Android: Kotlin throw on a background thread - Crashes the app.
  • Android: C bad access - Requires IL2CPP. Crashes the app.

Currently the native plugins are focused on Android. But iOS will come next, and standalone (desktop) after that.

Other cases

UnityEngine.Diagnostics.Utils has a method called ForceCrash().
It takes a ForcedCrashCategory as an argument which includes 4 different types of errors.
These will be added too in the future. Quicker if you'd like to contribute with a PR :)

About

The fun game of bugs πŸžπŸ¦‹πŸ›πŸœπŸ•·

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published