Good question:
Joh 3:17 For God did not send His Son into the world to condemn the world, but so that the world might be saved through Him.
Joh 3:18 He who believes on Him is not condemned, but he who does not believe is condemned already, because he has not believed in the name of the only-begotten Son of God.
Those who believe in Christ are NOT condemned. The "because" is qualified by the knowledge of the name. The person is condemned because they did not believe in the Name which implies they have heard of it. That's one explanation.
What would you then do when you combine John 3:16-18 and Acts 4:12. Would that mean we should not tell people the name, because then they are responsable. Ignorance then equals heaven?