[RPG] Can a creature that is immune to magic be affected by a spell that ignores spell resistance

dnd-3.5eimmunitiespathfinder-1espell-resistance

In D&D 3.5 and/or Pathfinder if a creature is immune to magic, does a spell that has "SR: No" affect it ?

I ask cause technically its a spell and is magic, but of course spells that don't allow SR usually create an effect that is not magical itself.

Best Answer

Probably yes. In general when a creature is immune to magic, the text of the ability says it only applies to things that allow spell resistance. For example, the text on the pathfinder flesh golem ability "immune to magic" reads:

A flesh golem is immune to any spell or spell-like ability that allows spell resistance.

Even the spell immunity spell only grants "unbeatable spell resistance" to the spells the target is immune to.