 On one occasion, Emperor Wen took Yuwen Shiji into his bedroom to converse with him privately, and he was impressed by Yuwen Shiji sufficiently that he gave his granddaughter the Princess Nanyang (南陽公主) (the daughter of his son Yang Guang the Crown Prince) to Yuwen Shiji in marriage.They had one son, Yuwen Chanshi (宇文禪師).Because he married a princess, he looked down at his brother Yuwen Zhiji, but appeared to have a cordial relationship with Yuwen Huaji.