u3d
u3d copied to clipboard
Prettify isn't showing compilation errors
I've not been able to get compiler errors showing for lines like this:
Assets\Code\CameraBase.cs(247,7): error CS0619: 'Component.camera' is obsolete: 'Property camera has been deprecated. Use GetComponent<Camera>() instead. (UnityUpgradable)'
Hey @oddgames-david !
Thanks for the feedback.
This is an issue with regular expressions that I'm not sure I'll have the time to tackle super soon. In the meantime, if you want these errors to show right now, you can try to use your own set of rules! Let us know if you have trouble with this, and if you manage to fix the rules so that they show your errors, do open a pull request to bring your fix to the codebase, it would be much appreciated!
@niezbop Deleted the compiler_error and compiler_warning from COMPILE phase and added these to general (I deactivated warnings because almost impossible to remove warnings from projects with so many assets).
"compiler_error": {
"active": true,
"start_pattern": "(.*: error (CS....).*)",
"type": "error"
},
"compiler_warning": {
"active": false,
"start_pattern": "(.*: warning (CS....).*)",
"type": "warning"
},