Due to a problem in the Intel® Quartus® Prime Pro Edition Software version 20.4 or later, you might see this error during the compilation when a reset signal gets auto-promoted to a global net as an automatic optimization.
To work around this problem, use a GLOBAL_SIGNAL OFF assignment on the destination(s) reset or a global assignment on the source reset to prevent the global routing of the connections.
set_instance_assignment -name GLOBAL_SIGNAL OFF -from <source> -to <destination>
This problem is scheduled to be fixed in a future release of the Intel® Quartus® Prime Pro Edition Software.