# DEBUG FILE - Untonic Engine Beta 2025.02
# Common Bugs in PenguinMod IDE & Electron Issues
------------------------------------------------------------
## 1. General IDE Issues (PenguinMod-based)
- [BUG] Projects fail to load: Sometimes projects get stuck at loading due to corrupted save files.
- [BUG] Sprite rendering glitches: Some sprites may appear distorted or misaligned after importing assets.
- [BUG] Variable duplication error: Occasionally, variables duplicate themselves in the script editor.
- [BUG] Sound playback lag: Audio playback is delayed or stutters in complex projects.
- [BUG] Block execution inconsistency: Some scripts may not execute properly due to timing issues in looped conditions.
- [BUG] Memory leaks: High memory usage may slow down the IDE after extended use.
- [BUG] Undo function breaks changes: The undo system sometimes fails to revert changes correctly.
## 2. Electron-Based Errors
- [ERROR] White screen on startup: Indicates missing dependencies or improperly initialized Electron components.
- [ERROR] App crashes on specific actions: Certain Electron processes may cause unexpected crashes.
- [ERROR] Slow rendering: Electron UI may experience lag due to excessive resource consumption.
- [ERROR] File system permissions issue: Some Electron apps fail to access directories due to restricted permissions.
- [ERROR] Webview not loading: External sources may not display properly in embedded Electron webviews.
- [ERROR] DevTools failing to open: Debugging tools may refuse to launch in certain builds.
## 3. Debugging Solutions
- Always check console logs for errors (`Ctrl + Shift + I` in Electron apps).
- Clear cache and restart if performance drops significantly.
- Update Electron dependencies if app behavior is unstable.
- Ensure correct permissions for file access and execution.
------------------------------------------------------------
# End of Debug File