Shakyamuni and Nyorai are not the same Buddha.
Shakyamuni is the founder of Buddhism, that is, the Buddha, his surname is Gautama, his name is Siddhartha, "Shakyamuni" is the honorific title of Buddhists for him.
Shakyamuni, the name of the race, means "Neng", Muni is an honorific title, which means "benevolence, Confucianism, forbearance, and silence", and the meaning of Shakyamuni united is "Nengren, Nengru, Nengforbearance, Nenglonely", etc., which is generally interpreted as "the saint of the Sakya clan".
The actual meaning of the Buddha is: to attain enlightenment by the path of truthfulness, that is, to be true as nature, without any concepts, names, and signs of the real self or other bodies.
Buddha does not refer to a single individual, but represents the universal existence of Buddha-nature.
Buddha-nature is the intrinsic nature of every sentient being, which contains qualities such as compassion, wisdom, and kindness, and is an infinite and pure essence that sentient beings attain after attaining nirvana. Therefore, Nyolai is not an entity, but a state of being in Buddhism.
The essence of Nyorai is that it transcends time and space, it exists in all time and space in the past, present and future, and is an all-powerful and infinite existence.
Shakyamuni Buddha is the founder and disseminator of Buddhism, who has achieved the highest level of enlightenment and nirvana, and guided and educated sentient beings to cultivate themselves and realize themselves.
Sometimes, although Shakyamuni Buddha is also referred to as Nyorai Buddha, in essence, the two concepts are still different and different.